Colour detection using Image processing

2 Ansichten (letzte 30 Tage)
paf  CEO
paf CEO am 6 Apr. 2011
HI I am new to Image processing, i want to make a programe in matlab where i can detect colour " red " , "green" & "blue " i will save image in workspace /current directory , and then by using if else statment i will detect whats the colour of image ,if image is green it should display "green", if it is red then it should display "red" similarly for blue if any one knows this , reply me back with coding thanks in advance.
umar

Antworten (2)

Walter Roberson
Walter Roberson am 6 Apr. 2011
This is something that tends to be given as an assignment, so you could probably find some hints in past CSSM discussions
One of the first things you will need to define is what exactly you mean by "red", "green", and "blue". For example, dark purple has no green and has about half as much blue as red: does that mean that purple should be classified as red? If so, then look at the bottom row of that link and notice that those purples have as much blue as they have red: how do you classify those? Now take one of those and reduce the red setting by one increment: would the color not still be purple and yet the blue would be stronger than the red?

David Tarkowski
David Tarkowski am 6 Apr. 2011
Steve Eddins has some articles on his blog about color segmentation and identification. You can start with this entry and then look for other entries on his blog on the topic if you need more guidance.

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by