help in reconstructing from eigenfaces
- From: royG <roygeorget@xxxxxxxxx>
- Date: Thu, 27 Mar 2008 14:28:57 -0700 (PDT)
hi
i am trying to reconstruct face images from eigenfaces derrived from
original set of face images.
I coded it in python and represented orig images by an numpy.ndarray
with each row for each image and each column for pixel intensity.I
sorted the eigenvectors such that each row of
sortedeigenvectors_rowwise is an eigenvector(first row being the most
significant).
Thus my facespace has each row correspond to an eigenface image.
facespace=dot(sortedeigenvectors_rowwise,adjfaces) where
adjfaces=origfaces-averageface
also i calculated the weights matrix by
wk=dot(facespace[:selectednumberofEVectors,:],adjfaces.transpose() ).transpose()
weights=abs(wk)
Now I am trying to reconstruct the face images from this data.Since i
am still learning this technique i couldn't figure out how to do the
reconstruction
can someone help/advise?
RG
.
- Follow-Ups:
- Re: help in reconstructing from eigenfaces
- From: Jonathan Campbell
- Re: help in reconstructing from eigenfaces
- Prev by Date: Re: Thresholding on gray image
- Next by Date: Blood eating is banned in islam
- Previous by thread: Thresholding on gray image
- Next by thread: Re: help in reconstructing from eigenfaces
- Index(es):