Borrar filtros
Borrar filtros

Selecting an ellipse as a region of interest (ROI)

3 visualizaciones (últimos 30 días)
med-sweng
med-sweng el 4 de Abr. de 2014
Respondida: Image Analyst el 4 de Abr. de 2014
I used imellipse to select an ellipse as my region of interest (ROI). The issue is that the ellipse I want to select is of around 45 degrees, and, when I use imellipse, it seems it is 90 degrees either horizontally or vertically.
How can I change the orientation of the ellipse?
Thanks.

Respuestas (2)

Joseph Cheng
Joseph Cheng el 4 de Abr. de 2014
Image Analyst should be getting the credit for the answer but here http://www.mathworks.com/matlabcentral/answers/76788-how-to-rotate-imellipse he gives an example of rotating an ellipse outside of using imellipse.

Image Analyst
Image Analyst el 4 de Abr. de 2014
There is no way to interactively specify a tilted ellipse. Best way I can think of is to draw the two axes (major and minor) interactively with two calls to imline().

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by