17 #ifndef MITKIMAGEREGISTRATIONMETHOD_H
18 #define MITKIMAGEREGISTRATIONMETHOD_H
21 #include "itkImageRegistrationMethod.h"
22 #include "itkSingleValuedNonLinearOptimizer.h"
29 #include "itkImageMaskSpatialObject.h"
45 typedef itk::ImageMaskSpatialObject<3>
MaskType;
49 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
51 static const
int LINEARINTERPOLATOR = 0;
52 static const
int NEARESTNEIGHBORINTERPOLATOR = 1;
56 void SetInterpolator(
int interpolator);
58 virtual
void GenerateData() override;
60 virtual
void SetReferenceImage(
Image::
Pointer fixedImage);
66 void SetOptimizerScales(
itk::Array<
double> scales);
68 void SetTransform(
itk::Object::
Pointer transform);
72 void SetOptimizer(
itk::Object::
Pointer optimizer);
74 void SetNumberOfLevels(
unsigned int levels);
78 virtual ~ImageRegistrationMethod();
88 virtual
void GenerateOutputInformation()
override {}
93 itk::Array<double> m_OptimizerScales;
95 unsigned int m_MultiResolutionScales;
99 #endif // MITKIMAGEREGISTRATIONMETHOD_H
itk::SmartPointer< Self > Pointer
Observer to react on rigid registration optimizer events.
Main class for the rigid registration pipeline.
#define MITKRIGIDREGISTRATION_EXPORT
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
itk::ImageMaskSpatialObject< 3 > MaskType
#define mitkClassMacro(className, SuperClassName)
Image class for storing images.
Superclass of all classes having one or more Images as input and generating Images as output...
itk::SingleValuedNonLinearOptimizer OptimizerType