Azzera filtri
Azzera filtri

HOW CAN I PRODUCE A SEGMENTED BINARY IMAGE OF A PARTICULAR COLOR CHANNEL USING MATLAB?

1 visualizzazione (ultimi 30 giorni)
OK i want to come up with a function that allows me to produce a #segmented binary image of a particular color channel that am interested in and i just don't know where to begin from.
  1 Commento
Adam
Adam il 19 Gen 2018
You could start by switching Caps Lock off...
If your image has a small number of pure colours then you can just identify the rgb value of the colour you want and do an equality test on your n*m*3 image.
If you have an image that has a huge number of colours blending into each other then it is more difficult and some kind of clustering is needed, possibly after converting to greyscale or by using colour distance metrics, depending how detailed you want to be.

Accedi per commentare.

Risposte (1)

Image Analyst
Image Analyst il 19 Gen 2018
Try the Color Thresholder app on the Apps tab of the tool ribbon, or see the color segmentation demos in my File Exchange: https://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862&sort=downloads_desc

Community Treasure Hunt

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

Start Hunting!

Translated by