how to ellipse fitting to connected object?

1 visualización (últimos 30 días)
Abo
Abo el 9 de Nov. de 2014
Respondida: Abo el 25 de Nov. de 2014
how to ellipse fitting to connected object?

Respuesta aceptada

Evan
Evan el 13 de Nov. de 2014
help regionprops
This allows you to return the orientation, major axis length, and minor axis length of binary data with regions that approximate ellipses.
The page also contains code for plotting your ellipse fits.
  3 comentarios
Evan
Evan el 14 de Nov. de 2014
Editada: Evan el 14 de Nov. de 2014
Regionprops performs its operations for each connected region of true values, so it treats that cluster of three pigs as a single entity.
The way you do this likely depends on the range of scenarios that you expect from your images. I would suggest looking through the functions in the Image Processing Toolbox, particularly those that relate to Segmentation to see which ones might be useful.

Iniciar sesión para comentar.

Más respuestas (1)

Abo
Abo el 25 de Nov. de 2014
thank you. your answers are so helpful.

Categorías

Más información sobre Image Segmentation and Analysis en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by