필터 지우기
필터 지우기

How to make face images clustering using kmeans clustering?

조회 수: 4 (최근 30일)
prashanth
prashanth 2014년 3월 26일
댓글: Shashank Prasanna 2014년 3월 27일
I detected face using Viola-jones algorithm from video.I cropped faces from each frame.I recognized faces using eigen faces.In eigenface algorithm I calculated euclidian distance for input image.I even calculated threshold to recognize faces.Recognizing is over I guess.But now i have to do clustering.I dont know how to start.Can you suggest me to how to start?

채택된 답변

Shashank Prasanna
Shashank Prasanna 2014년 3월 26일
You can start with the examples on the documentation page for KMEANS:
You'll need 2 pieces of information. (1) X: your input matrix of features (2) k: number of clusters. Number of clusters is something you may have to start by guessing if you don't already know.
All that is left is to invoke KMEANS:
[IDX,C,sumd] = kmeans(X,k)
If you don't know how many clusters are there in the data, you can make use of cluster evaluation techniques as follows:
  댓글 수: 2
prashanth
prashanth 2014년 3월 27일
I know number of clusters k.Please can you explain me little bit about X:input matrix of features?How to get this input matrix.Actually I used Eigenfaces to recognize faces.I calculated euclidian distance and threshold for input image.Is this anything helpful for X:input matrix of features?Iam new to this image processing.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by