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

5 ビュー (過去 30 日間)
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...

回答 (1 件)

Image Analyst
Image Analyst 2014 年 9 月 26 日
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!

Translated by