18 #ifndef itkMeanSquareRegistrationFunction_h
19 #define itkMeanSquareRegistrationFunction_h
52 template<
typename TFixedImage,
typename TMovingImage,
typename TDisplacementField >
55 TMovingImage, TDisplacementField >
63 TMovingImage, TDisplacementField >;
91 static constexpr
unsigned int ImageDimension = Superclass::ImageDimension;
116 { m_MovingImageInterpolator = ptr; }
120 {
return m_MovingImageInterpolator; }
124 {
return m_TimeStep; }
140 void InitializeIteration()
override;
144 PixelType ComputeUpdate(
const NeighborhoodType & neighborhood,
146 const FloatOffsetType & offset = FloatOffsetType(0.0) )
override;
151 void PrintSelf(std::ostream & os,
Indent indent)
const override;
183 #ifndef ITK_MANUAL_INSTANTIATION
184 #include "itkMeanSquareRegistrationFunction.hxx"
typename Superclass::NeighborhoodType NeighborhoodType
Light weight base class for most itk classes.
typename Superclass::FixedImagePointer FixedImagePointer
typename FixedImageType::SpacingType SpacingType
InterpolatorType * GetMovingImageInterpolator()
GradientCalculatorPointer m_FixedImageGradientCalculator
typename FixedImageType::SizeType SizeType
TimeStepType ComputeGlobalTimeStep(void *) const override
FixedImageNeighborhoodIteratorType m_FixedImageIterator
InterpolatorPointer m_MovingImageInterpolator
Calculate the derivative by central differencing.
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
typename GradientCalculatorType::Pointer GradientCalculatorPointer
typename Superclass::MovingImagePointer MovingImagePointer
typename Superclass::MovingImageType MovingImageType
typename Superclass::DisplacementFieldTypePointer DisplacementFieldTypePointer
typename Superclass::DisplacementFieldType DisplacementFieldType
typename ImageType::PixelType PixelType
typename FixedImageType::IndexType IndexType
typename InterpolatorType::Pointer InterpolatorPointer
typename ConstNeighborhoodIterator< TDisplacementField >::RadiusType RadiusType
void SetMovingImageInterpolator(InterpolatorType *ptr)
A templated class holding a n-Dimensional vector.
ImageBaseType::SizeType SizeType
double m_IntensityDifferenceThreshold
ImageBaseType::IndexType IndexType
double m_DenominatorThreshold
typename Superclass::RadiusType RadiusType
typename InterpolatorType::PointType PointType
SpacingType m_FixedImageSpacing
Linearly interpolate an image at specified positions.
typename DisplacementFieldType::PixelType DisplacementFieldPixelType
Base class for all image interpolaters.
void * GetGlobalDataPointer() const override
Control indentation during Print() invocation.
ImageBaseType::PointType PointType
typename Superclass::FixedImageType FixedImageType
typename Superclass::TimeStepType TimeStepType
typename Superclass::PixelType PixelType
A templated class holding a n-Dimensional covariant vector.
void ReleaseGlobalDataPointer(void *GlobalData) const override
typename Superclass::FloatOffsetType FloatOffsetType