public class SIFTGeoKeypoint.SIFTGeoLocation extends KeypointLocation
SIFTGeoKeypoint.| Modifier and Type | Field and Description |
|---|---|
Jama.Matrix |
affine
affine parameters of the interest point
|
float |
cornerness
The saliency of the interest point
|
orientationscalex, y| Constructor and Description |
|---|
SIFTGeoLocation()
Default constructor.
|
SIFTGeoLocation(float x,
float y,
float orientation,
float scale,
float cornerness,
Jama.Matrix affine)
Construct with the given parameters
|
| Modifier and Type | Method and Description |
|---|---|
String |
asciiHeader()
Header for ascii input.
|
byte[] |
binaryHeader()
Header for binary input.
|
Float |
getOrdinate(int dimension)
Get the ordinate value for a specific dimension.
|
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.
|
getDimensionsclone, getScale, setScalecopy, copyFrom, createRandomPoint, createRandomPoint, equals, fromDoubleArray, getX, getY, hashCode, minus, setOrdinate, setX, setY, toString, transform, translate, translatefinalize, getClass, notify, notifyAll, wait, wait, waitcopy, copyFrom, getX, getY, minus, setX, setY, transform, translate, translatesetOrdinatepublic float cornerness
public Jama.Matrix affine
public SIFTGeoLocation(float x, float y, float orientation, float scale, float cornerness, Jama.Matrix affine)
x - x-ordinate of featurey - y-ordinate of featurescale - scale of featureorientation - orientation of featurecornerness - the saliency of the interest pointaffine - affine parameterspublic SIFTGeoLocation()
public void writeBinary(DataOutput out) throws IOException
WriteableBinarywriteBinary in interface WriteableBinarywriteBinary in class KeypointLocationout - sink to write toIOException - an error writing to outpublic void writeASCII(PrintWriter out) throws IOException
WriteableASCIIwriteASCII in interface WriteableASCIIwriteASCII in class KeypointLocationout - sink to write toIOException - an error writing to outpublic void readBinary(DataInput in) throws IOException
ReadableBinaryreadBinary in interface ReadableBinaryreadBinary in class KeypointLocationin - source to read from.IOException - an error reading inputpublic void readASCII(Scanner in) throws IOException
ReadableASCIIreadASCII in interface ReadableASCIIreadASCII in class KeypointLocationin - source to read from.IOException - an error reading inputpublic byte[] binaryHeader()
ReadableBinarybinaryHeader in interface ReadableBinarybinaryHeader in interface WriteableBinarybinaryHeader in class KeypointLocationpublic String asciiHeader()
ReadableASCIIasciiHeader in interface ReadableASCIIasciiHeader in interface WriteableASCIIasciiHeader in class KeypointLocationpublic Float getOrdinate(int dimension)
CoordinategetOrdinate in interface CoordinategetOrdinate in class KeypointLocationdimension - The index of the dimension we are interested in