public static class MinMaxKeypoint.MinMaxKeypointLocation extends KeypointLocation
MinMaxKeypoint
.Modifier and Type | Field and Description |
---|---|
boolean |
isMaxima
Was the keypoint detected at a maxima?
|
orientation
scale
x, y
Constructor and Description |
---|
MinMaxKeypointLocation(float x,
float y,
float ori,
float scale,
boolean isMaxima)
Construct with the given parameters
|
Modifier and Type | Method and Description |
---|---|
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.
|
asciiHeader, binaryHeader, getDimensions, getOrdinate
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 boolean isMaxima
public MinMaxKeypointLocation(float x, float y, float ori, float scale, boolean isMaxima)
x
- x-ordinate of featurey
- y-ordinate of featurescale
- scale of featureori
- orientation of featureisMaxima
- was the detection at a maxima?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 input