public class AffineSimulationKeypoint extends Keypoint
Keypoint that holds the AffineParams and
simulation index of the affine simulation from which it was detected.| Modifier and Type | Class and Description |
|---|---|
static class |
AffineSimulationKeypoint.AffineSimulationKeypointLocation
A
KeypointLocation extended to hold a rotation, tilt and index
corresponding to an affine simulation. |
| Modifier and Type | Field and Description |
|---|---|
AffineParams |
affineParams
The affine simulation parameters of the keypoint
|
int |
index
The simulation index of the keypoint; this corresponds to the simulation
in which the keypoint was detected.
|
| Constructor and Description |
|---|
AffineSimulationKeypoint(int length)
Construct with the given feature vector length.
|
AffineSimulationKeypoint(Keypoint k,
AffineParams afParams,
int index)
Construct from the given parameters
|
| Modifier and Type | Method and Description |
|---|---|
AffineSimulationKeypoint.AffineSimulationKeypointLocation |
getLocation() |
Float |
getOrdinate(int dimension) |
void |
setLocation(KeypointLocation location)
Set the location of this
Keypoint |
String |
toString() |
addGaussianNoise, asciiHeader, binaryHeader, clone, copy, copyFrom, equals, getDimensions, getFeatureVector, getRelativeKeypoints, getScale, getScaledKeypoints, getX, getY, hashCode, locationEquals, minus, readASCII, readBinary, setOrdinate, setScale, setX, setY, transform, translate, translate, writeASCII, writeBinarypublic AffineParams affineParams
public int index
public AffineSimulationKeypoint(int length)
length - the length of the feature vectorpublic AffineSimulationKeypoint(Keypoint k, AffineParams afParams, int index)
k - a keypointafParams - the affine simulation parametersindex - the affine simulation indexpublic AffineSimulationKeypoint.AffineSimulationKeypointLocation getLocation()
getLocation in interface LocationProvider<KeypointLocation>getLocation in class Keypointpublic void setLocation(KeypointLocation location)
KeypointKeypointsetLocation in class Keypointlocation - the locationpublic Float getOrdinate(int dimension)
getOrdinate in interface CoordinategetOrdinate in class Keypoint