フィルターのクリア

How to get the diameter of irregular image?

2 ビュー (過去 30 日間)
waffle
waffle 2017 年 4 月 5 日
回答済み: Image Analyst 2017 年 4 月 22 日
hi,I want to find the diameter of this image,can i use regionprops function? If I use to find majoraxis and minoraxis so which one i should choose for its diameter?Can someone help me?If u have any idea to idea or ways to find diameter then tell me.
TQ
  2 件のコメント
Jan
Jan 2017 年 4 月 5 日
編集済み: Jan 2017 年 4 月 5 日
How is the "diameter" of an irregular shape defined? Is it the largest straight line matching into the object? Or the mean length of all lines through the center?
waffle
waffle 2017 年 4 月 5 日
編集済み: waffle 2017 年 4 月 5 日
the mean length of all lines through the center.can u help me?

サインインしてコメントする。

回答 (2 件)

Image Analyst
Image Analyst 2017 年 4 月 22 日
I think the mean cross sectional distance would be pretty close to the Equivalent Diameter which is returned from regionprops().
To find the maximum Feret diameter, see the attached demo.

KSSV
KSSV 2017 年 4 月 5 日
doc imdistline

Community Treasure Hunt

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

Start Hunting!

Translated by