detecting colours
古いコメントを表示
I want to detect both brown and whit colours,can anyone tell how to proceed plz
回答 (2 件)
Jan
2012 年 2 月 23 日
0 投票
You find a lot of color detection questions in this forum. Please take the time to read, how to detect red and yellow colors, and make a transfer to brown and white.
5 件のコメント
FIR
2012 年 2 月 23 日
Jan
2012 年 2 月 23 日
If you are interested in image processing, you should know different strategies to define a color. E.g. in the RGB color space "white" can be defined as "all(RGB > 250)" or another useful limit. You can work in HSV also - see e.g. http://en.wikipedia.org/wiki/HSL_and_HSV .
FIR
2012 年 2 月 23 日
FIR
2012 年 2 月 23 日
Jan
2012 年 2 月 25 日
In "diff_im = imsubtract(data(:,:,1), rgb2gray(data));" you subtract the grey value from the red component. Are you sure this concerns the color yellow?!
Image Analyst
2012 年 2 月 23 日
0 投票
See my color detection examples:
I detect colors in three different ways.
2 件のコメント
FIR
2012 年 2 月 23 日
Image Analyst
2012 年 2 月 25 日
Yes, I read that. Both brown and whit. I know. It should be easy to modify my apps, in fact the delta E app will work right out of the box. So how did it go? Do you have it working yet? By the way your code in your comment to Jan has nothing whatsoever to do with color segmentation, your comments notwithstanding. It just doesn't - I don't know why you think it should.
カテゴリ
ヘルプ センター および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!