Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

k means clustering of image ..

Asked by Max on 14 Oct 2011

hello every one ..i am new to image processing ..and i am learning now the k means clustering of image .. i went through wonderful steves image processing tuorial which has the link as

http://www.mathworks.in/products/image/demos.html?file=/products/demos/shipping/images/ipexhistology.html

the tutorial was really good .. now i dont want to use the kmeans inbuilt function... i want to learn the codes to do kmeans clustering of image myself with my own built function....

please tell me the way so that i can replace this step

[cluster_idx cluster_center] = kmeans(ab,nColors,'distance','sqEuclidean','Replicates',3);

by my own codes ..

thanking you

0 Comments

Max

Products

No products are associated with this question.

1 Answer

Answer by Jan Simon on 14 Oct 2011

Is it possible to answer this question? It depends on "your own codes". Do you mean: "I want to create a kmeans clustering function - where can I find corresponding literature?"

There are several kmeans++ implementations in the FEX. Did you check them? And asking Google for "Matlab kmeans" would be a good idea also.

0 Comments

Jan Simon

Contact us