STIRA
0.1
|
Geometric parametric transformation of an image. More...
#include <GeometricTransform.h>
Public Member Functions | |
GeometricTransform () | |
constructor | |
~GeometricTransform () | |
destructor | |
Image * | Apply (Image *pImageIn) |
generates new forward transfored image More... | |
Image * | ApplyInverse (Image *pImageIn) |
generates new inverse transfored image More... | |
void | SetInterpolatorType (InterpolatorType type) |
sets the interpolatortype to 'type' More... | |
InterpolatorType | GetInterpolatorType () |
gets the interpolatortype | |
virtual common::Point< double > | GetTransformedPoint (double x, double y)=0 |
computes coordinates of point after applying forward transform More... | |
virtual common::Point< double > | GetInverseTransformedPoint (double x, double y)=0 |
computes coordinates of point after applying inverse transform More... | |
Protected Attributes | |
InterpolatorType | mInterpolatorType |
Interpolator * | mpInterpolator |
More... | |
Geometric parametric transformation of an image.
generates new forward transfored image
pImageIn | input image to transform |
References stira::imagedata::Image::GetBands(), stira::imagedata::Image::GetHeight(), GetInverseTransformedPoint(), stira::imagedata::Image::GetNumberOfBands(), stira::imagedata::Image::GetWidth(), mpInterpolator, stira::imagetools::Interpolator::Run(), stira::common::Point< T >::x, and stira::common::Point< T >::y.
generates new inverse transfored image
pImageIn | input imae to transform |
References stira::imagedata::Image::GetBands(), stira::imagedata::Image::GetHeight(), stira::imagedata::Image::GetNumberOfBands(), GetTransformedPoint(), stira::imagedata::Image::GetWidth(), mpInterpolator, stira::imagetools::Interpolator::Run(), stira::common::Point< T >::x, and stira::common::Point< T >::y.
|
pure virtual |
computes coordinates of point after applying inverse transform
x | x coordinate of point to transform |
y | y coordinate of point to transform |
Implemented in stira::imagetools::AffineTransform.
Referenced by Apply().
|
pure virtual |
computes coordinates of point after applying forward transform
x | x coordinate of point to transform |
y | y coordinate of point to transform |
Implemented in stira::imagetools::AffineTransform.
Referenced by ApplyInverse().
void stira::imagetools::GeometricTransform::SetInterpolatorType | ( | InterpolatorType | type | ) |
|
protected |
type of interpolation to apply
interpolator object
Referenced by Apply(), ApplyInverse(), GeometricTransform(), SetInterpolatorType(), and ~GeometricTransform().