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.

Answers (1)

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:

Asked:

on 20 Jan 2014

Answered:

on 20 Jan 2014

Community Treasure Hunt

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

Start Hunting!