@Reference(type=Article, author={"Belhumeur, Peter N.","Hespanha, Jo\\~{a}o P.","Kriegman, David J."}, title="Fisherfaces vs. Fisherfaces: Recognition Using Class Specific Linear Projection", year="1997", journal="IEEE Trans. Pattern Anal. Mach. Intell.", pages={"711","","720"}, url="http://dx.doi.org/10.1109/34.598228", month="July", number="7", publisher="IEEE Computer Society", volume="19", customData={"issn","0162-8828","numpages","10","doi","10.1109/34.598228","acmid","261512","address","Washington, DC, USA","keywords","Appearance-based vision, face recognition, illumination invariance, Fisher\'s linear discriminant."}) public class FisherFaceFeature extends Object implements FacialFeature, FeatureVectorProvider<DoubleFV>
FacialFeature
for FisherFaces.Modifier and Type | Class and Description |
---|---|
static class |
FisherFaceFeature.Extractor<T extends DetectedFace>
A
FacialFeatureExtractor for producing FisherFaces. |
Modifier | Constructor and Description |
---|---|
protected |
FisherFaceFeature() |
|
FisherFaceFeature(DoubleFV fv)
Construct the FisherFaceFeature 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 FisherFaceFeature()
public FisherFaceFeature(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>