Referring to clustered image

1 回表示 (過去 30 日間)
Safaa
Safaa 2012 年 10 月 23 日
Hi all:
I am using k-means clustering to cluster an image. When displaying the clustered image I have to use imshow(clustered_image,[ ]).When displaying the clustered image using imshow(clustered_image),the result is white image.
The problem is when trying to reuse the clustered image again in the code. How to refer to this image in the code? (to convert it to binary image for example). Again, when referring to this image by only using its name, the result is always displayed in white.
Regards,
Safaa

採用された回答

Walter Roberson
Walter Roberson 2012 年 10 月 23 日
label2rgb() perhaps?
  1 件のコメント
Safaa
Safaa 2012 年 10 月 23 日
Exactly! It worked out! I don't know what to say. I really appreciate your great help.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCluster Analysis and Anomaly Detection についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by