detecting colours
2 次查看(过去 30 天)
显示 更早的评论
I want to detect both brown and whit colours,can anyone tell how to proceed plz
0 个评论
回答(2 个)
Jan
2012-2-23
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 个评论
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
See my color detection examples:
I detect colors in three different ways.
2 个评论
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Color 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!