public class DoGSIFTFeature extends Object implements FacialFeature
FacialFeature
that uses DoG-SIFT features to
describe a face.Modifier and Type | Class and Description |
---|---|
static class |
DoGSIFTFeature.Extractor
A
FacialFeatureExtractor for producing DoGSIFTFeature s |
Modifier and Type | Field and Description |
---|---|
protected Rectangle |
bounds |
protected LocalFeatureList<Keypoint> |
keys |
Constructor and Description |
---|
DoGSIFTFeature() |
Modifier and Type | Method and Description |
---|---|
byte[] |
binaryHeader()
Header for binary input.
|
Rectangle |
getBounds() |
LocalFeatureList<Keypoint> |
getKeys() |
protected void |
initialise(DetectedFace face) |
void |
readBinary(DataInput in)
Read internal state from in.
|
void |
writeBinary(DataOutput out)
Write the content of this as binary to out.
|
protected LocalFeatureList<Keypoint> keys
public DoGSIFTFeature()
protected void initialise(DetectedFace face)
public 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 LocalFeatureList<Keypoint> getKeys()