class to apply affine transform to an image x' = a11 * x + a12 * y + dx y' = a21 * x + a22 * y + dy
More...
#include <AffineTransform.h>
class to apply affine transform to an image x' = a11 * x + a12 * y + dx y' = a21 * x + a22 * y + dy
Point< double > stira::imagetools::AffineTransform::GetInverseTransformedPoint |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
|
virtual |
computes coordinates of point after applying inverse transform
- Parameters
-
x | x coordinate of point to transform |
y | y coordinate of point to transform |
Implements stira::imagetools::GeometricTransform.
Point< double > stira::imagetools::AffineTransform::GetTransformedPoint |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
|
virtual |
computes coordinates of point after applying forward transform
- Parameters
-
x | x coordinate of point to transform |
y | y coordinate of point to transform |
Implements stira::imagetools::GeometricTransform.
void stira::imagetools::AffineTransform::SetA11 |
( |
double |
a11 | ) |
|
sets the a11 parameter of the affine transform
- Parameters
-
a11 | the new value for the a11 parameter |
void stira::imagetools::AffineTransform::SetA12 |
( |
double |
a12 | ) |
|
sets the a_12 parameter of the affine transform
- Parameters
-
a12 | the new value for the a11 parameter |
void stira::imagetools::AffineTransform::SetA21 |
( |
double |
a21 | ) |
|
sets the a21 parameter of the affine transform
- Parameters
-
a21 | the new value for the a11 parameter |
void stira::imagetools::AffineTransform::SetA22 |
( |
double |
a22 | ) |
|
sets the a22 parameter of the affine transform
- Parameters
-
a22 | the new value for the a11 parameter |
void stira::imagetools::AffineTransform::SetDeltaX |
( |
double |
dx | ) |
|
sets the parameter of the translation in the x direction (dx)
- Parameters
-
dx | the new value for the dx parameter |
void stira::imagetools::AffineTransform::SetDeltaY |
( |
double |
dy | ) |
|
sets the parameter of the translation in the y direction (dy)
- Parameters
-
dy | the new value for the dy parameter |
The documentation for this class was generated from the following files:
- imagetools/geometrictransform/AffineTransform.h
- imagetools/geometrictransform/AffineTransform.cpp