Assigning property/value to image color, Oklahoma state
Mostrar comentarios más antiguos
Hello,
I have a very simple image (attached) that has white background and several filled circles of different colors. I am interested in the part of the image that is inside the line boundary (approximate boundaries for Oklahoma state). How can create matrices/grids that will have different numbers based on the color of the circles. For instance, the matrix/grid for red circles (color) should have value 5 for red color and 0 for whatever is not red; green should have 3 inside and 0 outside, etc.
Thanks, DjR
3 comentarios
Star Strider
el 28 de Mzo. de 2015
Image?
Image Analyst
el 28 de Mzo. de 2015
Attach your original image and what you want your output indexed image to look like. And why do I need a grid?
djr
el 28 de Mzo. de 2015
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Startup and Shutdown 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!