필터 지우기
필터 지우기

Obtaining the best ellipse fit of an irregular shape

조회 수: 3 (최근 30일)
med-sweng
med-sweng 2014년 10월 3일
답변: Image Analyst 2014년 10월 3일
Say that we have an irregular shape. How can we obtain the best `ellipse` fit of such shape? Does `regionprops` work for that? If so, can you kindly guide me on that?
Thanks.

답변 (2개)

Sean de Wolski
Sean de Wolski 2014년 10월 3일
Use one of those functions on the row/col coordinates of the pixels in the object

Image Analyst
Image Analyst 2014년 10월 3일
Yes, regionprops can probably do what you want. Check out Steve's blog for a demo. http://blogs.mathworks.com/steve/2010/07/30/visualizing-regionprops-ellipse-measurements/
To find ellipses in a gray scale image you might check out http://www.ecse.rpi.edu/homepages/qji/Papers/ellipse_det_icpr02.pdf
You might also check out this paper:
Pattern Recognition 34 (2001) 2283}2303
Least-squares orthogonal distances Fitting of circle, sphere, ellipse, hyperbola, and parabola
Sung Joon Ahn, Wolfgang Rauh, Hans-Jurgen Warnecke

카테고리

Help CenterFile Exchange에서 Curve Fitting Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by