18 #ifndef itkOptimizedImageToImageRegistrationMethod_h 19 #define itkOptimizedImageToImageRegistrationMethod_h 28 template <
class TImage>
59 TImage::ImageDimension );
85 itkSetMacro( InitialTransformParameters, TransformParametersType );
88 itkSetMacro( InitialTransformFixedParameters, TransformParametersType );
89 itkGetConstMacro( InitialTransformFixedParameters, TransformParametersType );
91 itkSetMacro( LastTransformParameters, TransformParametersType );
94 itkSetMacro( TransformParametersScales, TransformParametersScalesType );
95 itkGetConstMacro( TransformParametersScales, TransformParametersScalesType );
112 itkSetMacro( UseFixedImageSamplesIntensityThreshold,
bool );
145 virtual void Optimize( MetricType * metric, InterpolatorType * interpolator );
147 virtual void PrintSelf( std::ostream & os, Indent indent )
const ITK_OVERRIDE;
152 void operator =(
const Self & );
154 TransformParametersType m_InitialTransformParameters;
155 TransformParametersType m_InitialTransformFixedParameters;
157 TransformParametersType m_LastTransformParameters;
159 TransformParametersScalesType m_TransformParametersScales;
161 bool m_SampleFromOverlap;
163 bool m_MinimizeMemory;
165 unsigned int m_MaxIterations;
167 bool m_UseEvolutionaryOptimization;
169 unsigned int m_NumberOfSamples;
171 bool m_UseFixedImageSamplesIntensityThreshold;
172 PixelType m_FixedImageSamplesIntensityThreshold;
174 double m_TargetError;
176 int m_RandomNumberSeed;
184 double m_FinalMetricValue;
189 #ifndef ITK_MANUAL_INSTANTIATION 190 #include "itkOptimizedImageToImageRegistrationMethod.txx"
OptimizedImageToImageRegistrationMethod Self
Simplified inverse ITK transforms.
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
itkGetConstMacro(InitialTransformParameters, TransformParametersType)
itkTypeMacro(OptimizedImageToImageRegistrationMethod, ImageToImageRegistrationMethod)
TransformType::ParametersType TransformParametersType
OptimizedImageToImageRegistrationMethod(void)
Transform< double, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension)> TransformType
TransformType::ParametersType TransformParametersScalesType
SmartPointer< const Self > ConstPointer
virtual ~OptimizedImageToImageRegistrationMethod(void)
itkSetMacro(InitialTransformParameters, TransformParametersType)
InterpolationMethodEnumType
itkGetMacro(FinalMetricValue, double)
Superclass::TransformType TransformType
SmartPointer< Self > Pointer
itkStaticConstMacro(ImageDimension, unsigned int, TImage::ImageDimension)
ImageToImageRegistrationMethod< TImage > Superclass
virtual void GenerateData(void) ITK_OVERRIDE
InterpolateImageFunction< TImage, double > InterpolatorType
void SetFixedImageSamplesIntensityThreshold(PixelType val)
ImageType::PixelType PixelType
ImageToImageMetric< TImage, TImage > MetricType
virtual void Optimize(MetricType *metric, InterpolatorType *interpolator)