@Reference(type=Inproceedings, author={"Turk, M.A.","Pentland, A.P."}, title="Face recognition using eigenfaces", year="1991", booktitle="Computer Vision and Pattern Recognition, 1991. Proceedings CVPR \'91., IEEE Computer Society Conference on", pages={"586 ","591"}, month="jun", number="", volume="", customData={"keywords","eigenfaces;eigenvectors;face images;face recognition system;face space;feature space;human faces;two-dimensional recognition;unsupervised learning;computerised pattern recognition;eigenvalues and eigenfunctions;","doi","10.1109/CVPR.1991.139758"}) public class EigenFaceFeature extends Object implements FacialFeature, FeatureVectorProvider<DoubleFV>
FacialFeature
for EigenFaces.Modifier and Type | Class and Description |
---|---|
static class |
EigenFaceFeature.Extractor<T extends DetectedFace>
A
FacialFeatureExtractor for producing EigenFaces. |
Modifier | Constructor and Description |
---|---|
protected |
EigenFaceFeature() |
|
EigenFaceFeature(DoubleFV fv)
Construct the EigenFaceFeature with the given feature vector.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
binaryHeader()
Header for binary input.
|
DoubleFV |
getFeatureVector()
Get the FeatureVector associated with this object.
|
void |
readBinary(DataInput in)
Read internal state from in.
|
void |
writeBinary(DataOutput out)
Write the content of this as binary to out.
|
protected EigenFaceFeature()
public EigenFaceFeature(DoubleFV fv)
fv
- the feature vectorpublic void readBinary(DataInput in) throws IOException
ReadableBinary
readBinary
in interface ReadableBinary
in
- source to read from.IOException
- an error reading inputpublic byte[] binaryHeader()
ReadableBinary
binaryHeader
in interface ReadableBinary
binaryHeader
in interface WriteableBinary
public void writeBinary(DataOutput out) throws IOException
WriteableBinary
writeBinary
in interface WriteableBinary
out
- sink to write toIOException
- an error writing to outpublic DoubleFV getFeatureVector()
FeatureVectorProvider
getFeatureVector
in interface FeatureVectorProvider<DoubleFV>