Assigning property/value to image color, Oklahoma state
Show older comments
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 Comments
Star Strider
on 28 Mar 2015
Image?
Image Analyst
on 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
on 28 Mar 2015
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!