need a matlab code for detecting particular color from an image

Hello all,
I am new to matlab. I want a code that shows the particular color from an image. I have an image and I want to display only red color in image. which means I only want to display where there is red color in my image. Thank you

Community Treasure Hunt

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

Start Hunting!

Translated by