MATLAB Answers

What should I do if the brightness of backgroud is very close to foreground?

25 views (last 30 days)
Hi,
I have some images that I want to segment. However, The the brightness of backgroud is very close to foreground in my images.
Here is a example,
The red circled object is what I want. But after trying different methods, this is what I got
Is there any suggestions to get a better result? These segmented images are used to be mask for 3D segmentation by using ‘activecontour’. Other images have similar problem. And as you can imagine, The 3D structure is much larger than what I want.
Thanks!

Accepted Answer

Image Analyst
Image Analyst on 3 Mar 2021
They don't look that close. Thresholding should work fairly well. Otherwise use SegNet deep learing if you need to identify triangular protuberances. Not sure what you want though. What you got looks OK to me. Why is it not? What do you need to measure from it. Tell me so I can know how important holes and shape are.
  5 Comments

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