public class QuantisedKeypoint extends QuantisedLocalFeature<KeypointLocation> implements Point2d
QuantisedKeypoint is a QuantisedLocalFeature with its
location described by a KeypointLocation. It is the quantised
equivalent to a Keypoint, with the feature vector replaced by a
single integer assignment.id, location| Constructor and Description |
|---|
QuantisedKeypoint()
Construct an empty
QuantisedKeypoint, located at the origin with
an id of 0. |
QuantisedKeypoint(KeypointLocation loc)
Construct a
QuantisedKeypoint, located at the given position with
an id of 0. |
QuantisedKeypoint(KeypointLocation loc,
int id)
Construct a
QuantisedKeypoint, located at the given position and
id. |
| Modifier and Type | Method and Description |
|---|---|
Point2d |
copy() |
void |
copyFrom(Point2d p) |
int |
getDimensions() |
Float |
getOrdinate(int dimension) |
float |
getX() |
float |
getY() |
Point2d |
minus(Point2d a) |
void |
setOrdinate(int dimension,
Number value) |
void |
setX(float x) |
void |
setY(float y) |
Point2d |
transform(Jama.Matrix m) |
void |
translate(float x,
float y) |
void |
translate(Point2d v) |
asciiHeader, binaryHeader, getFeatureVector, getLocation, readASCII, readBinary, writeASCII, writeBinaryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasciiHeader, readASCIIbinaryHeader, readBinaryasciiHeader, writeASCIIbinaryHeader, writeBinarypublic QuantisedKeypoint()
QuantisedKeypoint, located at the origin with
an id of 0.public QuantisedKeypoint(KeypointLocation loc)
QuantisedKeypoint, located at the given position with
an id of 0.loc - the positionpublic QuantisedKeypoint(KeypointLocation loc, int id)
QuantisedKeypoint, located at the given position and
id.loc - the positionid - the idpublic Float getOrdinate(int dimension)
getOrdinate in interface Coordinatepublic void setOrdinate(int dimension, Number value)
setOrdinate in interface Coordinatepublic int getDimensions()
getDimensions in interface Coordinate