Azzera filtri
Azzera filtri

How to get the diameter of irregular image?

2 visualizzazioni (ultimi 30 giorni)
waffle
waffle il 5 Apr 2017
Risposto: Image Analyst il 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 Commenti
Jan
Jan il 5 Apr 2017
Modificato: Jan il 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 il 5 Apr 2017
Modificato: waffle il 5 Apr 2017
the mean length of all lines through the center.can u help me?

Accedi per commentare.

Risposte (2)

Image Analyst
Image Analyst il 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 il 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