|
|||||||||||
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
sugr.Motion_2D
sugr.Rotation_2D
Class containing rotation (1) constructors.
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 | |
Rotation_2D()
standard rotation matrix. |
|
Rotation_2D(double angle)
Creates a rotation matrix which rotates around angle |
|
Rotation_2D(double a,
double b)
set rotation matrix by hand. the matrix has then following form: |a -b 0| |b a 0| |0 0 1| |
|
Rotation_2D(double a,
double b,
Matrix cov)
set rotation matrix with covariance by hand. the matrix has then following form: |a -b 0| |b a 0| |0 0 1| |
|
Rotation_2D(double angle,
Matrix cov)
Creates a rotation matrix which rotates around angle |
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 Rotation_2D()
public Rotation_2D(double angle)
angle
- angle to rotate, given in radianspublic Rotation_2D(double angle, Matrix cov)
angle
- angle to rotate, given in radianscov
- 9x9 Matrixpublic Rotation_2D(double a, double b)
|a -b 0| |b a 0| |0 0 1|
a
- equivalent to cos(angle)b
- equivalent to sin(angle)public Rotation_2D(double a, double b, Matrix cov)
|a -b 0| |b a 0| |0 0 1|
a
- equivalent to cos(angle)b
- equivalent to sin(angle)cov
- 9x9 matrixMethod Detail |
public int getDegreesOfFreedom()
getDegreesOfFreedom
in class Motion_2D
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |