T - The type of InterestPointDatapublic abstract class InterestPointKeypoint<T extends InterestPointData> extends Keypoint
InterestPointData.| Constructor and Description |
|---|
InterestPointKeypoint()
Construct with a
null location and default length feature |
InterestPointKeypoint(int length)
Construct with a
null location and feature of the given
length |
InterestPointKeypoint(OrientedFeatureVector featureVector,
T point) |
| Modifier and Type | Method and Description |
|---|---|
String |
asciiHeader()
Header for ascii input.
|
byte[] |
binaryHeader()
Header for binary input.
|
abstract T |
createEmptyLocation() |
void |
readASCII(Scanner in)
Read internal state from in.
|
void |
readBinary(DataInput in)
Read internal state from in.
|
void |
writeASCII(PrintWriter out)
Write the content of this as ascii to out.
|
void |
writeBinary(DataOutput out)
Write the content of this as binary to out.
|
addGaussianNoise, clone, copy, copyFrom, equals, getDimensions, getFeatureVector, getLocation, getOrdinate, getRelativeKeypoints, getScale, getScaledKeypoints, getX, getY, hashCode, locationEquals, minus, setLocation, setOrdinate, setScale, setX, setY, toString, transform, translate, translatepublic T extends InterestPointData location
public InterestPointKeypoint()
null location and default length featurepublic InterestPointKeypoint(int length)
null location and feature of the given
lengthlength - the feature lengthpublic InterestPointKeypoint(OrientedFeatureVector featureVector, T point)
featureVector - the feature vector containing orientation and the byte[]point - the location and shape of the interest pointpublic abstract T createEmptyLocation()
InterestPointData compatible with this
featurepublic void readBinary(DataInput in) throws IOException
ReadableBinaryreadBinary in interface ReadableBinaryreadBinary in class Keypointin - source to read from.IOException - an error reading inputpublic void readASCII(Scanner in) throws IOException
ReadableASCIIreadASCII in interface ReadableASCIIreadASCII in class Keypointin - source to read from.IOException - an error reading inputpublic byte[] binaryHeader()
ReadableBinarybinaryHeader in interface ReadableBinarybinaryHeader in interface WriteableBinarybinaryHeader in class Keypointpublic String asciiHeader()
ReadableASCIIasciiHeader in interface ReadableASCIIasciiHeader in interface WriteableASCIIasciiHeader in class Keypointpublic void writeBinary(DataOutput out) throws IOException
WriteableBinarywriteBinary in interface WriteableBinarywriteBinary in class Keypointout - sink to write toIOException - an error writing to outpublic void writeASCII(PrintWriter out) throws IOException
WriteableASCIIwriteASCII in interface WriteableASCIIwriteASCII in class Keypointout - sink to write toIOException - an error writing to out