filter a specific color from image

11 ビュー (過去 30 日間)
Ah
Ah 2016 年 12 月 3 日
コメント済み: Image Analyst 2016 年 12 月 21 日
Hello everybody
i have a problem and it would be great if someone helps i am trying to cut a color from an image where the result image is BW .and the color specified i want to chose is black and the rest is white .the main problem is since there was more light of the left side of the image the pixel value pattern changes for the same color over the same image,for example blue of the left has value of RGB= 106 156 183 where on the right side RGB=106 126 133 ,is there a way where i can make the brightness the same all over the image ?I mean a way of making the values of the color i see to have the same values all over the image or a same pattern?

採用された回答

Image Analyst
Image Analyst 2016 年 12 月 3 日
See color segmentation demos in my File Exchange. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
Or use the ColorThresholder App on the Apps tab of the tool ribbon.
  7 件のコメント
Ah
Ah 2016 年 12 月 21 日
so i have been reading about x-rite ColorChecker chart,and tested the Method you recommended regarding the the white spot,is there a way to calibrate a camera using information already exsisted on the image? for example i can easly detect red color on my image feed and can i use a saved value to calibrate the camera ?multiplaying by a factor doesnot seems to help me a lot since i picked a point and multiplyed the whole image by factors one for each RGB .
Image Analyst
Image Analyst 2016 年 12 月 21 日
If you don't want to do calibrated color analysis then you can filter on whatever you have. I do that in several different ways (different color spaces) in my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862.
Or you can try the Color Thresholder on the Apps tab of the MATLAB tool ribbon.

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

その他の回答 (1 件)

Ah
Ah 2016 年 12 月 12 日
very intresting way i will try it in the next weeks,i will read about x-rite ColorChecker chart and report back.thank you again for help

カテゴリ

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