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 DoGSIFTFeatures |
| 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
ReadableBinaryreadBinary in interface ReadableBinaryin - source to read from.IOException - an error reading inputpublic byte[] binaryHeader()
ReadableBinarybinaryHeader in interface ReadableBinarybinaryHeader in interface WriteableBinarypublic void writeBinary(DataOutput out) throws IOException
WriteableBinarywriteBinary in interface WriteableBinaryout - sink to write toIOException - an error writing to outpublic LocalFeatureList<Keypoint> getKeys()