Image processing for crater detection

조회 수: 4 (최근 30일)
Vishnu
Vishnu 2011년 10월 27일
Can anyone help me with the code for the crater detection of the image
  댓글 수: 5
Vishnu
Vishnu 2011년 10월 29일
Thank you Amith....
Vishnu
Vishnu 2011년 10월 31일
can i know how can we do morphological image analysis here ????

댓글을 달려면 로그인하십시오.

답변 (1개)

Ashish Uthama
Ashish Uthama 2012년 9월 17일
"This seems like an interesting problem. I suppose, for the thresholding, the way they calculate the limits Rm, Rmin and Rmax needs to be known. If this is known, the resulting image can be written as easily as:
I = imread('lunar1.png');
For the rgb to hsv conversion (though I don't really see the point doing this), http://www.mathworks.com/help/techdoc/ref/rgb2hsv.html can be used on I.
I = rgb2hsv(I);
I would rather do
I = rgb2gray(I); %So that thresholding in 1 image layer is easier, unless multiband thresholding is what you want.
For the thresholding, something like:
J = (I > Rmin & I < Rmax); %To extract the parts of the image that's needed.
Alternatively, threshold at somewhere suitable so that:
K = (J > Rmed); %where Rmed is between Rmin and Rmax.
now with K, all the morphological operations can be done, since K is already a logical matrix.
You could use imdilate, imerode, with suitable SE, created using strel.
The distance and angle representation seems a bit more complicated, and I would not want to delve into that unless I know more about how it really works.
Hope this helps! "

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by