MATLAB Answers

Detection of ellipses;

120 views (last 30 days)
Sibel Cakir
Sibel Cakir on 7 Nov 2016
Commented: Sibel Cakir on 14 Nov 2016
I need to detect ellipses for example in the attached picture. Is there any tool, which can automatically
-detect ellipses or - bring parts of curves together and merge them into ellipses? (e.g.: forms which look like ellipses should be detetected and merged into an ellipse; fitting to an ellipse)
Thank you very much in advance!

Accepted Answer

Hannes Daepp
Hannes Daepp on 11 Nov 2016
I understand that you would like to detect ellipses in the figure using a MATLAB function. While MATLAB offers "imfindcircles" and "hough", it does not have any built-in tools to detect ellipses.
You could try using the "regionprops" function to measure properties of image regions, as done in the following blog post:
You may also find some relevant files by searching the File Exchange. For example, the following file uses a Hough transform to detect ellipses:
Finally, you can find a complete list of functions in the Image Processing Toolbox at the following link in the documentation:
  1 Comment
Sibel Cakir
Sibel Cakir on 14 Nov 2016
Thank you very much for so many advices. I will read all of them.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by