Clear Filters
Clear Filters

How we can filter out a specific color from an image?

5 views (last 30 days)
Dear
I have a snapshot of image captured by a camera. I need to calculate the area of specific color in that image. Any suggestions in this regard will be highly appreciated.

Answers (1)

Bruno Pop-Stefanov
Bruno Pop-Stefanov on 20 Jan 2014
This operation is called color thresholding and is usually done in HSV space. To my knowledge there is no built-in function in MATLAB to do that, but I found this interesting page on File Exchange:
This was also the topic of a previous post in MATLAB Answers:

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!