HOW CAN I PRODUCE A SEGMENTED BINARY IMAGE OF A PARTICULAR COLOR CHANNEL USING MATLAB?
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
Adam
2018 年 1 月 19 日
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.
回答 (1 件)
Image Analyst
2018 年 1 月 19 日
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
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!