|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsugr.Element
sugr.Transformation
sugr.Homography_2D
sugr.Affinity_2D
This class contains constructors to build a Affinity_2D. Its matrix needs 6 entries to build it: A Affinity_2D consists of:
| Field Summary | |
private static long |
serialVersionUID
Class version number for serialization |
| Fields inherited from class sugr.Homography_2D |
DIM |
| Fields inherited from class sugr.Element |
cov, MAXITER, v |
| Constructor Summary | |
Affinity_2D()
standard constructor. creates an identity matrix |
|
Affinity_2D(double a,
double b,
double c,
double d,
double e,
double f)
sets the matrix by hand. positions are: |a c e| |b d f| |0 0 1| |
|
Affinity_2D(double a,
double b,
double c,
double d,
double e,
double f,
Matrix cov)
sets the matrix with covariance by hand. positions are: |a c e| |b d f| |0 0 1| |
|
Affinity_2D(Rotation_2D rot,
Translation_2D trans,
Vector scale,
double shear,
boolean shearSymmetric)
Creates an affinity_2D by 6 paramaters: Transformation(2) Rotation(1), Scale (2), in x and y different values possible Shear (1), Error propagation is done automatically. |
|
Affinity_2D(Rotation_2D rot,
Translation_2D trans,
Vector scale,
double shear,
boolean shearSymmetric,
Matrix cov)
Creates an affinity_2D with covariance by 6 paramaters: Transformation(2) Rotation(1), Scale (2), in x and y different values possible Shear (1), No error propagation will be done. |
|
| Method Summary | |
int |
getDegreesOfFreedom()
Returns the number of elements to specify this transformation |
| Methods inherited from class sugr.Homography_2D |
doCondition, getDimCol, getDimRow, getJacobianAfterFirst, getJacobianAfterSecond, transform |
| Methods inherited from class sugr.Transformation |
errorProp, getDimension, getJacobianOfRelation, getReducedAB, getTransformationMatrix, getTransposeTransMatrix, transform |
| Methods inherited from class sugr.Element |
approximate, calcCov, changeNullspace, changeNullspace, checkCovDim, checkElement, clone, ensureConstraints, estimate, estimate, gaussHelmertIterations, gaussHelmertIterationsOld, getConstraintValue, getCov, getJacobianOfConstraint, getV, normalizeSphere, normalizeSphereComparable, print, print, reduceFirstMatrix, reduceMatrix, reduceMatrix, setCov, setV, toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private static final long serialVersionUID
| Constructor Detail |
public Affinity_2D()
public Affinity_2D(double a,
double b,
double c,
double d,
double e,
double f)
|a c e|
|b d f|
|0 0 1|
public Affinity_2D(double a,
double b,
double c,
double d,
double e,
double f,
Matrix cov)
|a c e|
|b d f|
|0 0 1|
cov - 9x9 matrix
public Affinity_2D(Rotation_2D rot,
Translation_2D trans,
Vector scale,
double shear,
boolean shearSymmetric)
rot - contains the rotation matrixtrans - contains the translation matrixscale - a vector with dimension 2shear - just as the name saysshearSymmetric - boolean Flag. Set it true to get symmetric shear
otherwise unsymmetric
public Affinity_2D(Rotation_2D rot,
Translation_2D trans,
Vector scale,
double shear,
boolean shearSymmetric,
Matrix cov)
rot - contains the rotation matrixtrans - contains the translation matrixscale - a vector with dimension 2shear - just as the name saysshearSymmetric - boolean Flag. Set it true to get symmetric shear
otherwise unsymmetriccov - 9x9-matrix| Method Detail |
public int getDegreesOfFreedom()
getDegreesOfFreedom in class Homography_2D
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||