MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Base class for all geometrical image transformations. More...
#include <mdsImageTransform.h>
Public Types | |
enum | { TEMPLATE_PARAMETER_IS_NOT_IMAGE = I::CLASS_IMAGE } |
Check that I is an image. More... | |
typedef I::tImage | tImage |
Image type. | |
typedef I::tPixel | tPixel |
Image pixel type. | |
Public Member Functions | |
bool | checkOption (int Flag) |
Checks if a given option is enabled. | |
CImageTransform (int Flags=0) | |
Default constructor. | |
CImageTransform & | fillMargin (tPixel Value) |
Sets pixel value used to fill image margin. | |
virtual bool | operator() (const tImage &SrcImage, tImage &DstImage)=0 |
Applies the geometrical transformation to an input image. | |
CImageTransform & | resize () |
Enables automatic correction of the output image size. | |
CImageTransform & | setOptions (int Flags) |
Sets transformation settings. | |
virtual | ~CImageTransform () |
Virtual destructor. | |
Protected Attributes | |
tPixel | m_MarginValue |
Pixel value used to fill image margin. | |
int | m_Options |
Transformation settings. |
Base class for all geometrical image transformations.
typedef I::tImage mds::img::CImageTransform< I, Interpolator >::tImage |
Image type.
Reimplemented in mds::img::CAffineTransform< I, Interpolator >.
typedef I::tPixel mds::img::CImageTransform< I, Interpolator >::tPixel |
Image pixel type.
Reimplemented in mds::img::CAffineTransform< I, Interpolator >.
anonymous enum |
mds::img::CImageTransform< I, Interpolator >::CImageTransform | ( | int | Flags = 0 | ) |
Default constructor.
virtual mds::img::CImageTransform< I, Interpolator >::~CImageTransform | ( | ) | [virtual] |
Virtual destructor.
bool mds::img::CImageTransform< I, Interpolator >::checkOption | ( | int | Flag | ) |
Checks if a given option is enabled.
CImageTransform& mds::img::CImageTransform< I, Interpolator >::fillMargin | ( | tPixel | Value | ) |
Sets pixel value used to fill image margin.
virtual bool mds::img::CImageTransform< I, Interpolator >::operator() | ( | const tImage & | SrcImage, |
tImage & | DstImage | ||
) | [pure virtual] |
Applies the geometrical transformation to an input image.
Implemented in mds::img::CAffineTransform< I, Interpolator >.
CImageTransform& mds::img::CImageTransform< I, Interpolator >::resize | ( | ) |
Enables automatic correction of the output image size.
CImageTransform& mds::img::CImageTransform< I, Interpolator >::setOptions | ( | int | Flags | ) |
Sets transformation settings.
tPixel mds::img::CImageTransform< I, Interpolator >::m_MarginValue [protected] |
Pixel value used to fill image margin.
int mds::img::CImageTransform< I, Interpolator >::m_Options [protected] |
Transformation settings.