@Reference(type=Article, author={"Morel, Jean-Michel","Yu, Guoshen"}, title="{ASIFT: A New Framework for Fully Affine Invariant Image Comparison}", year="2009", journal="SIAM J. Img. Sci.", publisher="Society for Industrial and Applied Mathematics") public class AffineParams extends Object implements ReadWriteable
| Modifier and Type | Field and Description |
|---|---|
float |
theta
The angle of rotation
|
float |
tilt
The amount of tilt
|
| Constructor and Description |
|---|
AffineParams()
Construct with zero tilt and rotation
|
AffineParams(float theta,
float tilt)
Construct with the given rotation and tilt.
|
| Modifier and Type | Method and Description |
|---|---|
String |
asciiHeader() |
byte[] |
binaryHeader() |
boolean |
equals(Object po) |
int |
hashCode() |
void |
readASCII(Scanner in) |
void |
readBinary(DataInput in) |
String |
toString() |
void |
writeASCII(PrintWriter out) |
void |
writeBinary(DataOutput out) |
public float theta
public float tilt
public AffineParams(float theta, float tilt)
theta - the angle of rotationtilt - the amount of tiltpublic AffineParams()
public void readBinary(DataInput in) throws IOException
readBinary in interface ReadableBinaryIOExceptionpublic void readASCII(Scanner in) throws IOException
readASCII in interface ReadableASCIIIOExceptionpublic byte[] binaryHeader()
binaryHeader in interface ReadableBinarybinaryHeader in interface WriteableBinarypublic String asciiHeader()
asciiHeader in interface ReadableASCIIasciiHeader in interface WriteableASCIIpublic void writeBinary(DataOutput out) throws IOException
writeBinary in interface WriteableBinaryIOExceptionpublic void writeASCII(PrintWriter out) throws IOException
writeASCII in interface WriteableASCIIIOException