|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsugr.Element
sugr.Transformation
sugr.Homography_3D
sugr.Affinity_3D
This class contains constructors to build a Affinity_3D. Its matrix needs 12 entries to build it: A Affinity_3D consists of:
Field Summary | |
private static long |
serialVersionUID
Class version number for serialization |
Fields inherited from class sugr.Homography_3D |
DIM |
Fields inherited from class sugr.Element |
cov, MAXITER, v |
Constructor Summary | |
Affinity_3D()
standard constructor. creates an identity matrix |
|
Affinity_3D(double[] aff)
sets Affinity_3D by hand. positions are: |aff[0] aff[3] |
|
Affinity_3D(double[] aff,
Matrix cov)
sets Affinity_3D with covariance by hand. positions are: |aff[0] aff[3] |
|
Affinity_3D(Rotation_3D rot,
Translation_3D trans,
Vector scale,
Vector shear)
Creates an affinity_3D by 12 paramaters: Transformation(3) Rotation(3), Scale (3), in x and y different values possible Shear (3), Error propagation is done automatically. |
|
Affinity_3D(Rotation_3D rot,
Translation_3D trans,
Vector scale,
Vector shear,
Matrix cov)
Creates an affinity_3D by 12 paramaters with covariance: Transformation(3) Rotation(3), Scale (3), in x and y different values possible Shear (3), 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_3D |
doCondition, getDimCol, getDimRow, getJacobianAfterFirst, getJacobianAfterSecond, getLineMatrix, getPlaneMatrix, getPointMatrix, 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_3D()
public Affinity_3D(double[] aff)
|aff[0] aff[3] ... | |aff[1] aff[4] ... | |aff[2] aff[5] ... | | 0 0 0 1|
aff
- a double array containing the values. Must be
dimension 12public Affinity_3D(double[] aff, Matrix cov)
|aff[0] aff[3] ... | |aff[1] aff[4] ... | |aff[2] aff[5] ... | | 0 0 0 1|
aff
- a double array containing the values. Must be
dimension 12cov
- 16x16 Matrixpublic Affinity_3D(Rotation_3D rot, Translation_3D trans, Vector scale, Vector shear)
rot
- contains the rotation matrixtrans
- contains the translation matrixscale
- a vector with dimension 3shear
- Vector containing 6 entries with order:
xy, xz, yz, yx, zx, zye.g. xy means: Shear-parameter in xy-plane
public Affinity_3D(Rotation_3D rot, Translation_3D trans, Vector scale, Vector shear, Matrix cov)
rot
- contains the rotation matrixtrans
- contains the translation matrixscale
- a vector with dimension 3shear
- Vector containing 6 entries with order:
xy, xz, yz, yx, zx, zyor [1 a1 a2 0] [a4 1 a3 0] [a5 a6 1 0] e.g. xy means: Shear-parameter in xy-plane
cov
- 16x16 matrixMethod Detail |
public int getDegreesOfFreedom()
getDegreesOfFreedom
in class Homography_3D
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |