Assigning property/value to image color, Oklahoma state
Afficher commentaires plus anciens
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 commentaires
Star Strider
le 28 Mar 2015
Image?
Image Analyst
le 28 Mar 2015
Attach your original image and what you want your output indexed image to look like. And why do I need a grid?
djr
le 28 Mar 2015
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!