How to ellipse fitting the object
조회 수: 1 (최근 30일)
이전 댓글 표시
how to ellipse fitting the object?
댓글 수: 2
Image Analyst
2013년 3월 26일
Background: Leon has already seen Matt J's code for fitting an ellipse: http://www.mathworks.com/matlabcentral/answers/53525#answer_65140
답변 (1개)
Image Analyst
2013년 3월 26일
편집: Image Analyst
2013년 3월 26일
regionprops() can do that. It give the major axis, minor axis, and orientation for each blob in the image.
You may also want to see this paper: http://www.ecse.rpi.edu/homepages/qji/Papers/ellipse_det_icpr02.pdf
댓글 수: 3
Image Analyst
2021년 3월 7일
편집: Image Analyst
2021년 3월 7일
- regionprops() measures only the angle, centroid, and major and minor axis lengths. It does not give a full (x,y) equation.
- regionprops() can handle multiple blobs in an image. You can return the results in a structure array (the default) or a table (if you specify the 'table' input option).
- I don't know if it's possible to modify imfindcircles() to find ellipses. You can try to program up the attached paper if you want to find ellipses.
Also see this answer:
and my attached demo.
L
2021년 3월 10일
Thank you.
Also, is it possible to use the imfindcircles() as an texture detector? Something like a Gabor filter, to highlight the curve-shaped textures?
I saw the paper that you have attached. But, what happens if the image is noisy? The method in the paper could be ssensitive in noise.
This is the reason I would try to detect the texutres first. Later, maybe the detection method would be combined with texture analysis.
참고 항목
카테고리
Help Center 및 File Exchange에서 Mathematics and Optimization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!