MATLAB: How to pick a particular color in a image

color segmentationcolor spaceImage Processing Toolbox

how to select a specific object in a image?