MATLAB Answers

i have segmented a grayscale image into various clusters, and now i want to display ecch display each clusters with different colours.....pls help..

1 view (last 30 days)
ABIN joy
ABIN joy on 26 Sep 2014
Answered: Image Analyst on 26 Sep 2014
i have segmented image that contains different image clusters.For the purpose of segmentation i have used the gray scale image and now i want to display each cluster with different colous...

Answers (1)

Image Analyst
Image Analyst on 26 Sep 2014
The scatter() function has an input argument where you can specify the color of each data point in the cluster. Just make up an N by 3 list of colors. You can also specify the sizes of each data point.

Community Treasure Hunt

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

Start Hunting!