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!