Why can't I apply thresholding on the image?

1 次查看(过去 30 天)
Hi everyone, I have a region of interest (ROI) as shown in first image. I have extracted the green channel and want to apply thresholding to segment the optic disc. However, when I apply the thresholding, it extract the whole ROI part as shown in second image. Is it due to the black background on the ROI image?
How can I solve this problem? Thank you.

采纳的回答

Image Analyst
Image Analyst 2022-6-13
Well it obviously used the wrong threshold. You did not say how you applied the thresholding or got the threshold value. No code was included, probably because you still haven't read the posting guidelines:
You might want to try the interactive threshold program in my File Exchange:
  4 个评论
Image Analyst
Image Analyst 2022-6-17
Looks like no one else is going to offer an answer. Since my solution worked, could you click the "Accept this answer" link? Thanks in advance. 🙂

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by