Calculate radius and diameter (image processing)

Hi, Could you help me write an algorithm to calculate radius (of irregular shaped objects in an image) is measured in steps of 3 degree and its mean, also diameter of a circle with the same area.Input: grayscale image.Thank you in advance!

回答(1 个)

look at the equivdiameter option in regionprops
doc regionprops

2 个评论

thank you!
have you got any ideas about the radius calculation,please help...
Well that would just be EquivDiameter / 2, wouldn't it?

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Geometric Transformation and Image Registration 的更多信息

提问:

2011-7-6

Community Treasure Hunt

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

Start Hunting!

Translated by