I want to detect the count of colors present in the image and i have to use that value for clusters in color based segmentation using k means
MATLAB: How to detect number of colors in an image
Image Processing Toolboximage segmentationStatistics and Machine Learning Toolbox
Best Answer