No proper kmeans clustering of images in matlab

Posted by user3237134 on Programmers See other posts from Programmers or by user3237134
Published on 2014-06-05T17:33:52Z Indexed on 2014/06/05 21:40 UTC
Read the original article Hit count: 244

Filed under:
|
|

I am having 1200 face images in my training set.There are 2989 test face images. I am using eigen faces (PCA) for feature extraction. I am using kmeans clustering.

Source code I tried:

IDX = kmeans(z,5);
clustercount=accumarray(IDX, ones(size(IDX)));
disp(clustercount);

Problem:

Images are not clustered properly. Same faces should be clustered. But different faces are being clustered.

Questions:

  1. Should I have to use still more face images for training?

  2. How accuracy of clustering can be achieved? What is the solution?

© Programmers or respective owner

Related posts about cluster

Related posts about matlab