#include <irtkDemonsRegistration.h>
This class implements a registration filter which takes two input images and calculates the transformation which maps the second image (denotes as source image) into the coordinate system of the first image (denotes as target image). This is the abstract base class which defines a common interface for arbitrary registration filters. Each derived class has to implement all abstract member functions.
Definition at line 37 of file irtkDemonsRegistration.h.
Public Member Functions | |
irtkDemonsRegistration () | |
Constructor. | |
virtual | ~irtkDemonsRegistration () |
Destructor. | |
virtual void | SetInput (irtkGreyImage *, irtkGreyImage *) |
Sets input for the registration filter. | |
virtual void | SetOutput (irtkMultiLevelFreeFormTransformation *) |
Sets output for the registration filter. | |
virtual void | Run () |
Runs the registration filter. | |
virtual void | Run (irtkGreyImage, irtkGreyImage, int) |
Runs the registration filter. | |
virtual void | SetParameter (const irtkDemonsRegistration *r) |
Copy parameters. | |
virtual void | Read (char *) |
Read registration parameters from file. | |
virtual void | Write (char *) |
Write registration parameters to file. | |
virtual | SetMacro (TargetBlurring, double) |
virtual | GetMacro (TargetBlurring, double) |
virtual | SetMacro (TargetResolution, double) |
virtual | GetMacro (TargetResolution, double) |
virtual | SetMacro (TargetPadding, short) |
virtual | GetMacro (TargetPadding, short) |
virtual | SetMacro (SourceBlurring, double) |
virtual | GetMacro (SourceBlurring, double) |
virtual | SetMacro (SourceResolution, double) |
virtual | GetMacro (SourceResolution, double) |
virtual | SetMacro (SourcePadding, short) |
virtual | GetMacro (SourcePadding, short) |
virtual | SetMacro (NumberOfLevels, int) |
virtual | GetMacro (NumberOfLevels, int) |
virtual | SetMacro (NumberOfIterations, int) |
virtual | GetMacro (NumberOfIterations, int) |
virtual | SetMacro (ReductionFactor, double) |
virtual | GetMacro (ReductionFactor, double) |
virtual | SetMacro (Smoothing, double) |
virtual | GetMacro (Smoothing, double) |
virtual | SetMacro (InterpolationMode, irtkInterpolationMode) |
virtual | GetMacro (InterpolationMode, irtkInterpolationMode) |
Protected Member Functions | |
virtual void | Initialize () |
Initial set up for the registration. | |
virtual void | Initialize (int) |
Initial set up for the registration. | |
virtual void | Finalize () |
Final set up for the registration. | |
virtual void | Finalize (int) |
Final set up for the registration. | |
Protected Attributes | |
irtkGreyImage * | _target |
First input image. | |
irtkGreyImage * | _source |
Second input image. | |
irtkGreyImage | _tmp |
Temporary source image. | |
irtkGreyImage | _targetGradientX |
Gradient of the target image. | |
irtkGreyImage | _targetGradientY |
irtkGreyImage | _targetGradientZ |
irtkRealImage | _localDX |
Local displacement field. | |
irtkRealImage | _localDY |
irtkRealImage | _localDZ |
irtkRealImage | _globalDX |
Total displacement field. | |
irtkRealImage | _globalDY |
irtkRealImage | _globalDZ |
irtkMultiLevelFreeFormTransformation * | _transformation |
Output. | |
irtkLinearFreeFormTransformation * | _ffd |
Linear free-form transformation. | |
irtkInterpolateImageFunction * | _interpolator |
Interpolator. | |
double | _TargetBlurring |
Blurring of target image (in mm). | |
double | _TargetResolution |
Resolution of target image (in mm). | |
short | _TargetPadding |
Padding value of target image. | |
double | _SourceBlurring |
Blurring of source image (in mm). | |
double | _SourceResolution |
Resolution of source image (in mm). | |
short | _SourcePadding |
Padding value of source image. | |
int | _NumberOfLevels |
Number of levels of multiresolution pyramid. | |
int | _NumberOfIterations |
Max. number of iterations per step size. | |
double | _ReductionFactor |
Reduction factor in multi-resolution pyramid. | |
double | _Smoothing |
Smoothing of deformation field at every iteration. | |
irtkInterpolationMode | _InterpolationMode |
Interpolation mode to use during resampling and registration. | |
double | _source_x1 |
Source image domain which can be interpolated fast. | |
double | _source_y1 |
double | _source_z1 |
double | _source_x2 |
double | _source_y2 |
double | _source_z2 |
Friends | |
istream & | operator>> (istream &, irtkDemonsRegistration *) |
Interface to input file stream. | |
ostream & | operator<< (ostream &, const irtkDemonsRegistration *) |
Interface to output file stream. |
irtkGreyImage* irtkDemonsRegistration::_target [protected] |
First input image.
This image is denoted as target image and its coordinate system defines the frame of reference for the registration.
Definition at line 51 of file irtkDemonsRegistration.h.
Referenced by SetInput().
irtkGreyImage* irtkDemonsRegistration::_source [protected] |
Second input image.
This image is denoted as source image. The goal of the registration is to find the transformation which maps the source image into the coordinate system of the target image.
Definition at line 57 of file irtkDemonsRegistration.h.
Referenced by SetInput().