Borrar filtros
Borrar filtros

draw ellipse in binary image

8 visualizaciones (últimos 30 días)
Niraj
Niraj el 12 de Oct. de 2012
Hi, I have a binary image with blobs being segmented. I have used the regionprops function to find the centroid, major axis,minor axis length, and orientation of the blobs. i need to draw the ellipse on these blobs. Any suggestion how to do it? Is there any inbuilt MATLAB function which does so? Also,i need that all my 10 blobs should be of different colors.
Thanks

Respuestas (2)

Matt J
Matt J el 12 de Oct. de 2012

Sean de Wolski
Sean de Wolski el 12 de Oct. de 2012
Editada: Sean de Wolski el 12 de Oct. de 2012
How about:
doc imellipse
(And specifically its method createMask)
  1 comentario
Matt J
Matt J el 12 de Oct. de 2012
It doesn't seem to allow arbitrary ellipse orientations. Or at least, I'm not finding a way to tilt it interactively.

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by