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
|
orientation
scale
x, 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.
|
getDimensions
clone, getScale, setScale
copy, copyFrom, createRandomPoint, createRandomPoint, equals, fromDoubleArray, getX, getY, hashCode, minus, setOrdinate, setX, setY, toString, transform, translate, translate
finalize, getClass, notify, notifyAll, wait, wait, wait
copy, copyFrom, getX, getY, minus, setX, setY, transform, translate, translate
setOrdinate
public 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
WriteableBinary
writeBinary
in interface WriteableBinary
writeBinary
in class KeypointLocation
out
- sink to write toIOException
- an error writing to outpublic void writeASCII(PrintWriter out) throws IOException
WriteableASCII
writeASCII
in interface WriteableASCII
writeASCII
in class KeypointLocation
out
- sink to write toIOException
- an error writing to outpublic void readBinary(DataInput in) throws IOException
ReadableBinary
readBinary
in interface ReadableBinary
readBinary
in class KeypointLocation
in
- source to read from.IOException
- an error reading inputpublic void readASCII(Scanner in) throws IOException
ReadableASCII
readASCII
in interface ReadableASCII
readASCII
in class KeypointLocation
in
- source to read from.IOException
- an error reading inputpublic byte[] binaryHeader()
ReadableBinary
binaryHeader
in interface ReadableBinary
binaryHeader
in interface WriteableBinary
binaryHeader
in class KeypointLocation
public String asciiHeader()
ReadableASCII
asciiHeader
in interface ReadableASCII
asciiHeader
in interface WriteableASCII
asciiHeader
in class KeypointLocation
public Float getOrdinate(int dimension)
Coordinate
getOrdinate
in interface Coordinate
getOrdinate
in class KeypointLocation
dimension
- The index of the dimension we are interested in