Effacer les filtres
Effacer les filtres

How to get the diameter of irregular image?

2 vues (au cours des 30 derniers jours)
waffle
waffle le 5 Avr 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 commentaires
Jan
Jan le 5 Avr 2017
Modifié(e) : Jan le 5 Avr 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 le 5 Avr 2017
Modifié(e) : waffle le 5 Avr 2017
the mean length of all lines through the center.can u help me?

Connectez-vous pour commenter.

Réponses (2)

Image Analyst
Image Analyst le 22 Avr 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 le 5 Avr 2017
doc imdistline

Community Treasure Hunt

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

Start Hunting!

Translated by