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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1030995/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1031000/image.png)
댓글 수: 0
채택된 답변
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
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개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!