17 #ifndef MITKBSPLINEREGISTRATION_H
18 #define MITKBSPLINEREGISTRATION_H
45 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
50 void SetNumberOfIterations(
int iterations);
55 void SetSaveResult(
bool saveResult);
60 void SetResultFileName(
const char *resultName);
79 m_OptimizerParameters = optimizerParameters;
94 itkSetMacro(NumberOfGridPoints,
int);
95 itkSetMacro(SaveDeformationField,
bool);
96 itkSetMacro(UpdateInputImage,
bool);
97 itkSetMacro(DeformationFileName, std::string);
98 itkSetMacro(Metric,
int);
99 itkSetMacro(MatchHistograms,
bool);
115 template <
typename TPixel,
unsigned int VImageDimension>
116 void GenerateData2(
const itk::Image<TPixel, VImageDimension> *itkImage1);
138 #endif // MITKDEMONSREGISTRATION_H
itk::SmartPointer< Self > Pointer
std::string m_DeformationFileName
mitk::OptimizerParameters::Pointer m_OptimizerParameters
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
virtual void GenerateData() override
Starts the B-Spline registration.
bool m_SaveDeformationField
RigidRegistrationObserver::Pointer m_Observer
#define mitkClassMacro(className, SuperClassName)
This class performes a b-spline registration between two images.
#define AccessByItk(mitkImage, itkImageTypeFunction)
Access a MITK image by an ITK image.
const char * m_ResultName
This class handles the images for the registration as well as taking care of the progress bar during ...
void SetOptimizerParameters(mitk::OptimizerParameters::Pointer optimizerParameters)
Set the optimizer parameters.