Detect Colors in a white image
Mostrar comentarios más antiguos
Greetings, for a school project I need to detect if there are nonwhite colors in this image.
http://radar.weather.gov/ridge/RadarImg/N0R/JUA_N0R_0.gif
If there are colors apart from white in the image I need to transmit a signal to a controller telling it to start working.
How do I detect colors and transmit the signal?
Respuesta aceptada
Más respuestas (2)
Walter Roberson
el 7 de Mzo. de 2011
1 voto
First you have to define "white" for your purposes. If a pixel is (254, 254, 254) then is that white? How about (255,255,254) ? How about (128,128,128) ?
Jose
el 7 de Mzo. de 2011
0 votos
Categorías
Más información sobre Convert Image Type en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!