image processing matlab
principal component analysis
Characteristic extraction aims to obtain vital information from facial features . The information is taken in the form of data representative of a raw data is represented using principal component analysis method . PCA is used to mengektraksi characteristics of the normalized image . PCA process will produce eigenvectors or characteristic vectors are then used to form the eigenspace ( eigenfaces ) . The steps in the formation of the eigenspace vectors forming faces , and quest weight of the vector eigen faces.
- Formation vector face
- Face Vector Image Formation of Faces
Results of the vector is then used as a column vector . Ie by multiplying the number of face vectors are then obtained vector column face . If the face amount is the vector W is the face ( MXN ) x W.
listing program.
ticload hasil\dbdata data% Principal Component Analysis[vec col]=size(data);%mencari nilai tengahmn=mean(data);for i=1:vecxmean(i,:)=data(i,:)-mn;end%menghitung matrix covarianskovar=xmean*xmean';%mendapatkan eigen vektor dan eigen value[v d]=eig(kovar);%membentuk diagonal matrix sebagai vektord1=diag(d);[d2 index]=sort(d1);cols=size(v,2);for i=1:colsvsort(:,i)=v(:,index(cols-i+1));dsort(i)=d1(index(cols-i+1));enddsum=sum(dsort);dsum_extract=0;p=50;i=1;%mengambil 50 vektor eigenfaceswhile(i<=p && dsort(i)>0)base(:,i)=dsort(i)^(-1/2)*xmean'*vsort(:,i);i=i+1;endPCA=data*base;accu=0;save hasil\dbeig PCA base
tag :
- pcaprincipal componenet analysi
- pca
- image procesing
- matlab code
- face recognition
- image recognition
- feature ektraction
1 komentar:
Las Vegas Casino & Hotel | MapYRO
Las Vegas Hotel and 청주 출장샵 Casino. The 전라남도 출장마사지 only Vegas-style casino resort on 포천 출장안마 the 진주 출장안마 Las Vegas Strip with more 양주 출장마사지 than 3,500 rooms and suites, three award-winning restaurants
Post a Comment and Don't Spam!