Thresholding in Color Image

6 ビュー (過去 30 日間)
pushk dfd
pushk dfd 2013 年 12 月 16 日
コメント済み: Image Analyst 2014 年 2 月 5 日
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
Image Analyst 2013 年 12 月 16 日

pushk dfd
pushk dfd 2014 年 2 月 5 日
Dear Image Analyst, Anyway i couldnt figure it out in the way that is shown there.But thank you very much for your time and efforts.
  1 件のコメント
Image Analyst
Image Analyst 2014 年 2 月 5 日
if you want any help, post your image.

サインインしてコメントする。


tudor dima
tudor dima 2014 年 2 月 5 日
編集済み: tudor dima 2014 年 2 月 5 日
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
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.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by