public static class MinMaxKeypoint.MinMaxKeypointLocation extends KeypointLocation
MinMaxKeypoint.| Modifier and Type | Field and Description |
|---|---|
boolean |
isMaxima
Was the keypoint detected at a maxima?
|
orientationscalex, 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, getOrdinateclone, 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 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
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 input