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

7 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Bruno Pop-Stefanov
Bruno Pop-Stefanov il 20 Gen 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!

Translated by