Public Member Functions | Protected Member Functions | List of all members
mirtk::ImageTransformation Class Reference

#include <ImageTransformation.h>

Inheritance diagram for mirtk::ImageTransformation:
Inheritance graph
Collaboration diagram for mirtk::ImageTransformation:
Collaboration graph

Public Member Functions

virtual void Cache (ImageTransformationCache *)
 Set transformation cache.
 
 ImageTransformation ()
 Constructor.
 
virtual void Invert (bool)
 Enable/disable inversion of transformation.
 
virtual void Run ()
 Resample transformed input image on output image grid.
 
virtual void Transformation (const class Transformation *)
 Set transformation.
 
virtual ~ImageTransformation ()
 Destructor.
 
- Public Member Functions inherited from mirtk::Object
virtual const char * NameOfClass () const =0
 Get name of class, which this object is an instance of.
 
virtual ParameterList Parameter () const
 Get parameter name/value pairs.
 
bool Parameter (const ParameterList &)
 Set parameters from name/value pairs.
 
virtual bool Set (const char *name, const char *value)
 
virtual ~Object ()
 Destructor.
 

Protected Member Functions

virtual void Initialize ()
 Initialize filter.
 
- Protected Member Functions inherited from mirtk::Object
template<typename... Args>
void Throw (ErrorType err, const char *func, Args... args) const
 

Additional Inherited Members

- Static Public Member Functions inherited from mirtk::Object
static const char * NameOfType ()
 Get name of this class type.
 
- Static Protected Member Functions inherited from mirtk::Object
template<typename... Args>
static void ThrowStatic (ErrorType err, const char *cls, const char *func, Args... args)
 

Detailed Description

Filter for image transformations.

This class implements an image filter which takes an input image and a transformation and computes the corresponding output image. The output image is calculated by looping over the voxel locations and calculating the corresponding voxel locations in the input image. The intensity of the voxels of the output image is by interpolation from the input image. Note, that the transformation is assumed to map the input image into the output image and is therefore inverted during the execution of the filter. All calculations are carried out using world coordinates rather than image coordinates.

Definition at line 74 of file ImageTransformation.h.


The documentation for this class was generated from the following file: