Borrar filtros
Borrar filtros

How to get the diameter of irregular image?

2 visualizaciones (últimos 30 días)
waffle
waffle el 5 de Abr. de 2017
Respondida: Image Analyst el 22 de Abr. de 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 comentarios
Jan
Jan el 5 de Abr. de 2017
Editada: Jan el 5 de Abr. de 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 el 5 de Abr. de 2017
Editada: waffle el 5 de Abr. de 2017
the mean length of all lines through the center.can u help me?

Iniciar sesión para comentar.

Respuestas (2)

Image Analyst
Image Analyst el 22 de Abr. de 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 el 5 de Abr. de 2017
doc imdistline

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by