Filter löschen
Filter löschen

How to get the diameter of irregular image?

2 Ansichten (letzte 30 Tage)
waffle
waffle am 5 Apr. 2017
Beantwortet: Image Analyst am 22 Apr. 2017
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 Kommentare
Jan
Jan am 5 Apr. 2017
Bearbeitet: Jan am 5 Apr. 2017
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 am 5 Apr. 2017
Bearbeitet: waffle am 5 Apr. 2017
the mean length of all lines through the center.can u help me?

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Image Analyst
Image Analyst am 22 Apr. 2017
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 am 5 Apr. 2017
doc imdistline

Community Treasure Hunt

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

Start Hunting!

Translated by