public class MinMaxKeypoint extends Keypoint
Keypoint extended to hold information on whether was detected at a
maxima or minima.| Modifier and Type | Class and Description |
|---|---|
static class |
MinMaxKeypoint.MinMaxKeypointLocation
The location of a
MinMaxKeypoint. |
| Modifier and Type | Field and Description |
|---|---|
boolean |
isMaxima
Was the keypoint detected at a maxima?
|
| Constructor and Description |
|---|
MinMaxKeypoint()
Construct with the default feature vector length for SIFT (128).
|
MinMaxKeypoint(float x,
float y,
float ori,
float scale,
byte[] ivec,
boolean isMaxima)
Construct with the given parameters
|
MinMaxKeypoint(int length)
Construct with the given feature vector length.
|
| Modifier and Type | Method and Description |
|---|---|
MinMaxKeypoint.MinMaxKeypointLocation |
getLocation()
Get the location associated with this object.
|
void |
setLocation(KeypointLocation location)
Set the location of this
Keypoint |
addGaussianNoise, asciiHeader, binaryHeader, clone, copy, copyFrom, equals, getDimensions, getFeatureVector, getOrdinate, getRelativeKeypoints, getScale, getScaledKeypoints, getX, getY, hashCode, locationEquals, minus, readASCII, readBinary, setOrdinate, setScale, setX, setY, toString, transform, translate, translate, writeASCII, writeBinarypublic boolean isMaxima
public MinMaxKeypoint()
public MinMaxKeypoint(float x, float y, float ori, float scale, byte[] ivec, boolean isMaxima)
x - x-ordinate of featurey - y-ordinate of featurescale - scale of featureori - orientation of featureivec - the feature vectorisMaxima - was the detection at a maxima?public MinMaxKeypoint(int length)
length - the length of the feature vectorpublic MinMaxKeypoint.MinMaxKeypointLocation getLocation()
LocationProvidergetLocation in interface LocationProvider<KeypointLocation>getLocation in class Keypointpublic void setLocation(KeypointLocation location)
KeypointKeypointsetLocation in class Keypointlocation - the location