![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Public Types | |
| enum | eTransformParams { eTP_ScaleX, eTP_ScaleY } |
Public Member Functions | |
| IPSDK_DECLARE_TRANSFORM2D (AnisotropicScale2d) | |
| void | setParams (const ipReal64 scaleX, const ipReal64 scaleY) |
| 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 | |
Constructors and destructor | |
| AnisotropicScale2d () | |
| AnisotropicScale2d (const ipReal64 scaleX, const ipReal64 scaleY) | |
| ~AnisotropicScale2d () | |
| ipReal64 | getScaleX () const |
| retrieve parameters associated to transformation | |
| ipReal64 | getScaleY () const |
| retrieve parameters associated to transformation | |
Public Member Functions inherited from ipsdk::math::transform::BaseLinearGeometricTransform2d | |
| bool | isLinear () const |
| retrieve flag indicating whether geometric transform is linear | |
| BaseLinearGeometricTransform2d () | |
| virtual | ~BaseLinearGeometricTransform2d ()=0 |
Public Member Functions inherited from ipsdk::math::transform::BaseGeometricTransform2d | |
| 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 Public Member Functions | |
| static Matrix3d | getInvHomogenousMatrix (const ipReal64 scaleX, const ipReal64 scaleY) |
| retrieve invert of homogeneous matrix associated to transformation | |
| static void | getInvParams (ipReal64 &scaleX, ipReal64 &scaleY) |
| retrieve invert parameters for transformation | |
| static Vector | getIdentityParams () |
| retrieve identity parameters for transformation | |
| static void | transform (const ipReal64 scaleX, const ipReal64 scaleY, ipReal64 &x, ipReal64 &y) |
| application of transformation to a point | |
| static Matrix3d | getHomogenousMatrix (const ipReal64 scaleX, const ipReal64 scaleY) |
| retrieve homogeneous matrix associated to transformation | |
Protected Attributes | |
| ipReal64 | _scaleX |
| transformation scale along x axis | |
| ipReal64 | _scaleY |
| transformation scale along y axis | |
Additional Inherited Members | |
Static Public Attributes inherited from ipsdk::math::transform::BaseLinearGeometricTransform2d | |
| static const bool | g_bLinear = true |
| linear status for transformation | |
|
virtual |
select parameters associated to transformation
| ipsdk::math::IPSDKMathException | if params.size() != getNbParams() |
Implements ipsdk::math::transform::BaseGeometricTransform2d.
1.8.14