17 #ifndef MITKPYRAMIDALREGISTRATIONMETHOD_H
18 #define MITKPYRAMIDALREGISTRATIONMETHOD_H
21 #include "itkImageRegistrationMethod.h"
22 #include "itkSingleValuedNonLinearOptimizer.h"
32 #include "itkImageMaskSpatialObject.h"
50 typedef itk::ImageMaskSpatialObject<3>
MaskType;
54 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
56 static const
int LINEARINTERPOLATOR = 0;
57 static const
int NEARESTNEIGHBORINTERPOLATOR = 1;
61 void SetInterpolator(
int interpolator);
63 virtual
void GenerateData() override;
65 virtual
void SetReferenceImage(
Image::
Pointer fixedImage);
73 m_OptimizerParameters = optimizerParameters;
79 m_TransformParameters = transformParameters;
85 void SetPresets(std::vector<std::string> presets) { m_Presets = presets; }
86 itkSetMacro(FixedSchedule, itk::Array2D<unsigned int>);
87 itkSetMacro(MovingSchedule, itk::Array2D<unsigned int>);
88 itkSetMacro(MatchHistograms,
bool);
90 itkSetMacro(BlurFixedImage,
bool);
91 itkSetMacro(BlurMovingImage,
bool);
112 std::vector<std::string> m_Presets;
116 itk::Array2D<unsigned int> m_FixedSchedule;
117 itk::Array2D<unsigned int> m_MovingSchedule;
120 bool m_MatchHistograms;
121 bool m_BlurFixedImage;
122 bool m_BlurMovingImage;
131 #endif // MITKIMAGEREGISTRATIONMETHOD_H
Class to load and save parameter presets for rigid registration.
void SetMetricParameters(MetricParameters::Pointer metricParameters)
itk::SmartPointer< Self > Pointer
Observer to react on rigid registration optimizer events.
OptimizerParameters::Pointer GetOptimizerParameters()
Main class for the rigid registration pipeline.
RigidRegistrationObserver::Pointer m_Observer
#define MITKRIGIDREGISTRATION_EXPORT
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
Image::Pointer m_FixedMask
itk::ImageMaskSpatialObject< 3 > MaskType
This class is used to hold all optimizer parameters needed for a rigid registration process...
MetricParameters::Pointer GetMetricParameters()
itk::SingleValuedNonLinearOptimizer OptimizerType
Image::Pointer m_MovingMask
void SetPresets(std::vector< std::string > presets)
Image::Pointer m_ReferenceImage
#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...
TransformParameters::Pointer GetTransformParameters()
void SetTransformParameters(TransformParameters::Pointer transformParameters)
void GenerateOutputInformation() override