fitting ellipse in connected components

조회 수: 1 (최근 30일)
kittu
kittu 2012년 10월 11일
Hi, I have a binary image and i have identified the connected components. Now i need to fit an ellipse in these connected components. I find that regionprops is a function capable of doing it using its property Éccentricity'. But i think it returns the eccentricty of each connected components but does not connect the components as a ellipse. can someone provide me help in this. I physically need to draw the ellipse in my connected components.
please reply. Thanks

답변 (1개)

Image Analyst
Image Analyst 2012년 10월 11일
You can ask for the major axis, minor axis, and orientation, so you can draw the ellipse.

Community Treasure Hunt

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

Start Hunting!

Translated by