Colour detection using Image processing
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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
0 comentarios
Respuestas (2)
Walter Roberson
el 6 de Abr. de 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?
0 comentarios
David Tarkowski
el 6 de Abr. de 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.
0 comentarios
Ver también
Categorías
Más información sobre Image Processing Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!