how to calculate the radius of an image more irregular if I know the centroid?
2 次查看(过去 30 天)
显示 更早的评论
Hello everyone! I have a small question and would appreciate if someone could help me. I'm working with a picture of a mole, I know the centroid of the image, and I'd like to know which is the major radius of the image. Anyone know how to do? thank you very much
1 个评论
Sean de Wolski
2013-5-9
Please provide a link to an example image and the code you are currently using.
采纳的回答
Image Analyst
2013-5-9
Use regionprops and ask for the EquivDiameter. That is the diameter as if the blob were perfectly circular with the same area. See my image segmentation tutorial for more info. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
2 个评论
Image Analyst
2013-5-11
Try bwarea() to get rid of small noise blobs. Otherwise upload your image so I can take a look at it.
更多回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!