how to replace the pixel value of image with the cluster center value in the K-means clustering

Hi all,
I want to do image segmentation by replacing the pixel value of original image with the value of cluster center in the K-means clustering.
function [mu,mask]=kmeans(ima,k)
All of I want is applying the 'mu' value in to 'mask'.
Thanks

Respuestas (0)

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 23 de Nov. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by