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

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.

Réponses (1)

Bruno Pop-Stefanov
Bruno Pop-Stefanov le 20 Jan 2014

1 vote

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:

Catégories

En savoir plus sur Images 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!

Translated by