|
|
| IPSDK_DECLARE_TRANSFORM2D (Similarity2d) |
| |
|
void | setParams (const ipReal64 scale, const ipReal64 theta, const ipReal64 tx, const ipReal64 ty) |
| | select parameters associated to transformation
|
| |
| void | setParams (const Vector ¶ms) |
| | select parameters associated to transformation More...
|
| |
|
void | setIdentity () |
| | set transformation parameters to identity
|
| |
|
void | apply (ipReal64 &x, ipReal64 &y) const |
| | apply transformation to a given point
|
| |
|
Matrix3d | getHomogenousMatrix () const |
| | retrieve homogeneous matrix associated to transformation
|
| |
|
Vector | getParams () const |
| | retrieve parameters associated to transformation
|
| |
|
Matrix3d | getInvHomogenousMatrix () const |
| | retrieve invert of homogeneous matrix associated to transformation
|
| |
|
Vector | getInvParams () const |
| | retrieve invert parameters associated to transformation
|
| |
|
|
| Similarity2d () |
| |
|
| Similarity2d (const ipReal64 scale, const ipReal64 theta, const ipReal64 tx, const ipReal64 ty) |
| |
|
| ~Similarity2d () |
| |
|
|
ipReal64 | getScale () const |
| | retrieve parameters associated to transformation
|
| |
|
ipReal64 | getTheta () const |
| | retrieve parameters associated to transformation
|
| |
|
ipReal64 | getTx () const |
| | retrieve parameters associated to transformation
|
| |
|
ipReal64 | getTy () const |
| | retrieve parameters associated to transformation
|
| |
|
bool | isLinear () const |
| | retrieve flag indicating whether geometric transform is linear
|
| |
|
| BaseLinearGeometricTransform2d () |
| |
|
virtual | ~BaseLinearGeometricTransform2d ()=0 |
| |
|
virtual eGeometricTransform2dType | getGeometricTransform2dType () const =0 |
| | retrieve geometric transform 2d type
|
| |
|
virtual ipUInt32 | getNbParams () const =0 |
| | retrieve number of parameters associated to geometric transformation
|
| |
|
template<typename T > |
| void | apply (const T xIn, const T yIn, T &xOut, T &yOut) const |
| | apply transformation to a given point
|
| |
|
virtual bool | isInvertible () const |
| | check whether transformation can be inverted
|
| |
| GeometricTransform2dPtr | createInverted () const |
| | create an inversed transformation from current one More...
|
| |
|
| BaseGeometricTransform2d () |
| |
|
virtual | ~BaseGeometricTransform2d () |
| |
|
|
static Matrix3d | getInvHomogenousMatrix (const ipReal64 scale, const ipReal64 theta, const ipReal64 tx, const ipReal64 ty) |
| | retrieve invert of homogeneous matrix associated to transformation
|
| |
|
static void | getInvParams (ipReal64 &scale, ipReal64 &theta, ipReal64 &tx, ipReal64 &ty) |
| | retrieve invert parameters for transformation
|
| |
|
static Vector | getIdentityParams () |
| | retrieve identity parameters for transformation
|
| |
|
|
static void | transform (const ipReal64 scale, const ipReal64 theta, const ipReal64 tx, const ipReal64 ty, ipReal64 &x, ipReal64 &y) |
| | application of transformation to a point
|
| |
|
static void | transform (const ipReal64 scale, const ipReal64 cosTheta, const ipReal64 sinTheta, const ipReal64 tx, const ipReal64 ty, ipReal64 &x, ipReal64 &y) |
| | application of transformation to a point
|
| |
|
|
static Matrix3d | getHomogenousMatrix (const ipReal64 scale, const ipReal64 theta, const ipReal64 tx, const ipReal64 ty) |
| | retrieve homogeneous matrix associated to transformation
|
| |
|
static Matrix3d | getHomogenousMatrix (const ipReal64 scale, const ipReal64 cosTheta, const ipReal64 sinTheta, const ipReal64 tx, const ipReal64 ty) |
| | retrieve homogeneous matrix associated to transformation
|
| |