Introduction - If you have any usage issues, please Google them yourself
Based on color segmentation, using clustering algorithm K-means algorithm. In this case the main function used is the color space conversion function makecform and applycform, for K-means clustering using kmeans function.