How can I detemine the presence of some colors (e.g white, light brown, dark brown, red, blue gray and black) in a piture like attached one?
Show older comments

I have to count presence of any colour if its number of pixels is more than 5% of total number of pixels.
Accepted Answer
More Answers (1)
Daniel Vieira
on 21 Feb 2020
0 votes
the easiest way would be using the Color Thresholder App to create function for the each color you want.
Categories
Find more on Image Processing Toolbox 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!