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() |
byte[] |
binaryHeader() |
abstract T |
createEmptyLocation() |
void |
readASCII(Scanner in) |
void |
readBinary(DataInput in) |
void |
writeASCII(PrintWriter out) |
void |
writeBinary(DataOutput 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
readBinary in interface ReadableBinaryreadBinary in class KeypointIOExceptionpublic void readASCII(Scanner in) throws IOException
readASCII in interface ReadableASCIIreadASCII in class KeypointIOExceptionpublic byte[] binaryHeader()
binaryHeader in interface ReadableBinarybinaryHeader in interface WriteableBinarybinaryHeader in class Keypointpublic String asciiHeader()
asciiHeader in interface ReadableASCIIasciiHeader in interface WriteableASCIIasciiHeader in class Keypointpublic void writeBinary(DataOutput out) throws IOException
writeBinary in interface WriteableBinarywriteBinary in class KeypointIOExceptionpublic void writeASCII(PrintWriter out) throws IOException
writeASCII in interface WriteableASCIIwriteASCII in class KeypointIOException