Applying k-means on histopathological images

Hi all:
I am applying k-means clustering algorithm on histopathological medical images to classify the pixels into classes. Everything is OK when applying k-means, but I have a tiny problem: When running k-means function(which is available in matlab) many times, image pixels appear in different colors each time. Can we make the colors of pixels the same when applying the k-means function many times?
Regrads,
Safaa

Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Asked:

on 9 Aug 2012

Community Treasure Hunt

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

Start Hunting!