How to ellipse fitting the object

1 Ansicht (letzte 30 Tage)
leon
leon am 26 Mär. 2013
Kommentiert: L am 10 Mär. 2021
  2 Kommentare
Image Analyst
Image Analyst am 26 Mär. 2013
Background: Leon has already seen Matt J's code for fitting an ellipse: http://www.mathworks.com/matlabcentral/answers/53525#answer_65140

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Image Analyst
Image Analyst am 26 Mär. 2013
Bearbeitet: Image Analyst am 26 Mär. 2013
regionprops() can do that. It give the major axis, minor axis, and orientation for each blob in the image.
  3 Kommentare
Image Analyst
Image Analyst am 7 Mär. 2021
Bearbeitet: Image Analyst am 7 Mär. 2021
  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 am 10 Mär. 2021
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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Mathematics and Optimization finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by