How to link broken edges of ellipsoid figures in an image?

3 views (last 30 days)
Hello everyone,
I have been reading a great number of Q&A regarding this topic (linking edges), but am still troubled with the following problem. I have a B&W image consisting of particles that may be described as ellipses/circles more or less accurately. Most of them contain holes, which I have filled with the imfill command. Yet, due to difficulties in the image processing part of the code, some of the edge pixels are lost no matter what I do... Then, instead of having filled particles I end up with very irregular shapes.
I have also plotted the equivalent ellipses that I can get from the regionprops command.
Do you know any techniques that would allow me to "rebuild" those ellipses?
Thank you a lot in advance.

Accepted Answer

Image Analyst
Image Analyst on 4 Jan 2018
You can create binary images from imellipse() or poly2mask().
  3 Comments
Image Analyst
Image Analyst on 4 Jan 2018
Then you're just going to have to improve the segmentation. The software doesn't know if some irregularly shaped blob is supposed to be an ellipse or just some arbitrarily shaped blob. If it's segmenting it wrong, then you're going to first have to fix that.

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!