Image processing for crater detection

12 ビュー (過去 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