How to close the gaps?
Show older comments
As you can see from the picture I've uploaded,

there are some gaps in the contour segmentation, because at this point the soft tissue ultrasound image lacks of signal and the gray color becomes black, so the contour gets messed up.
I don't want this to happen. I want a seamless, continuous contour to segment the whole area without getting messed up.
My thinking was either
- to interpolate the gray pixels and fill the black gaps among the soft tissue borders, OR
- to find a 2d spline to interpolate the active contour.
Any idea of yours?
6 Comments
Rik
on 7 Sep 2018
I think you should try a spline instead of tampering with your image.
Stelios Fanourakis
on 8 Sep 2018
Image Analyst
on 8 Sep 2018
Why not just lower your threshold to get the darker parts of the tissue?
If you need more help, read this link and improve your post, which would include attaching the original image in a .png file with the green and brown frame icon.
Stelios Fanourakis
on 8 Sep 2018
Stelios Fanourakis
on 8 Sep 2018
Image Analyst
on 8 Sep 2018
Attach your original gray scale images so we can try things with it.
Accepted Answer
More Answers (0)
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
