How to ellipse fitting the object

답변 (1개)

Image Analyst
Image Analyst 2013년 3월 26일
편집: Image Analyst 2013년 3월 26일

0 개 추천

regionprops() can do that. It give the major axis, minor axis, and orientation for each blob in the image.

댓글 수: 3

L
L 2021년 3월 7일
편집: Image Analyst 2021년 3월 7일
Hello,
This is an interesting topic. I have found few comments from you related to this topic. I have few questions since you are an expert (your comments are always very valuable).
  1. regionprops() measures the parameters of one ellipse, or the parameters of all ellipses in the image?
  2. What should be done if there are multiple ellipses with various dimensions? Can regionprops() handle that option?
  3. Also, is it possible to modify the imfindcircles() to detect ellipses? Specially multiple ellipses, maybe attacked with noise too? This is a newer function in Matlab, it is pretty clear for circle detecion, but for the ellipses?
Image Analyst
Image Analyst 2021년 3월 7일
편집: Image Analyst 2021년 3월 7일
  1. regionprops() measures only the angle, centroid, and major and minor axis lengths. It does not give a full (x,y) equation.
  2. 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).
  3. 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
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.

댓글을 달려면 로그인하십시오.

질문:

2013년 3월 26일

댓글:

L
L
2021년 3월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by