Going through every pixel of an image and finding the color that correlates with it
1 view (last 30 days)
Show older comments
I am trying to write a function that goes through every pixel of an image and find the colors associated with the pixels. I also need to remember the number of pixels associated with the color red.
How do I know how many pixels are in an image and how do I map the [x,y,z] relationship with the color of the pixel??
Thanks
0 Comments
Answers (1)
Walter Roberson
on 11 Sep 2012
There is no standard about where "red" ends and some other color begins.
You might want to see the file exchange contribution for fuzzy color matching.
0 Comments
See Also
Categories
Find more on Convert Image Type 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!