Understanding the image segmentation program

1 view (last 30 days)
Hi, folks. I am given a matlab program about blood vessel segmentation and trying to understand some of the codes.
There are some parts I don't really understand and requires clarification. Perhaps u guys could explain in simple terms or tell me what's the image processing technique involved in such segmentation method.
Parts of the program I don't understand :
Threshold Level :
Any explanation is appreciated.

Answers (1)

Image Analyst
Image Analyst on 15 Nov 2020
Don't you hate it when people write code with no comments? I'm sure you won't do that now that you see how hard it is to understand someone else's code.
It looks like they're flattening the image by doing a local histogram equalization to undue local brightness variation. Then they blur it and subtract it from the original to get vessels that are brighter than the local background. Not sure you need to do that since the adapthisteq() image is already pretty much background corrected. I suggest you display each image after it's computed to understand what it does, then put that in a comment so you'll know later what it does.

Categories

Find more on Biomedical Imaging in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!