Thresholding in Color Image
이전 댓글 표시
Dear All, I need to threshold for the range of colors belong to yellow in an color image.How can I do that.I tried with separating the RGB components.But it did not work for my purpose as it would give me unexpected results.
Your kind consideration given with this regard is highly appreciated.
Thanks in advance.
답변 (3개)
Image Analyst
2013년 12월 16일
0 개 추천
Try the Delta E method in my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
Or try Brett's method in his File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/38484-segmenttool-an-interactive-gui-for-segmenting-images
pushk dfd
2014년 2월 5일
0 개 추천
댓글 수: 1
Image Analyst
2014년 2월 5일
if you want any help, post your image.
tudor dima
2014년 2월 5일
편집: tudor dima
2014년 2월 5일
0 개 추천
If I correctly understood your problem -- you should convert your image to HSV and then obtain your selection by thresholding to the desired hue range ("yellow" in your case).
Also, intensity changes might also alter the perception of a colour as "yellow", so you might want your thresholding to run also on the "V" dimension of your hsv data.
댓글 수: 1
Image Analyst
2014년 2월 5일
I agree, and both of my links allow him to do exactly that, so I'm really puzzled as to why he said he can't figure it out.
카테고리
도움말 센터 및 File Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!