18 #ifndef __itkFastSymmetricForcesDemonsRegistrationFunction_h
19 #define __itkFastSymmetricForcesDemonsRegistrationFunction_h
45 template<
class TFixedImage,
class TMovingImage,
class TDisplacementField >
48 TMovingImage, TDisplacementField >
55 TMovingImage, TDisplacementField >
74 typedef typename FixedImageType::IndexType
IndexType;
75 typedef typename FixedImageType::SizeType
SizeType;
80 typedef typename Superclass::DisplacementFieldTypePointer
83 #ifdef ITKV3_COMPATIBILITY
84 typedef typename Superclass::DeformationFieldType DeformationFieldType;
85 typedef typename Superclass::DeformationFieldTypePointer DeformationFieldTypePointer;
89 itkStaticConstMacro(ImageDimension,
unsigned int, Superclass::ImageDimension);
122 m_MovingImageInterpolator = ptr; m_MovingImageWarper->SetInterpolator(ptr);
128 return m_MovingImageInterpolator;
132 virtual TimeStepType ComputeGlobalTimeStep(
void *itkNotUsed(GlobalData) )
const
139 virtual void * GetGlobalDataPointer()
const
150 virtual void ReleaseGlobalDataPointer(
void *GlobalData)
const;
153 virtual void InitializeIteration();
157 virtual PixelType ComputeUpdate(
const NeighborhoodType & neighborhood,
159 const FloatOffsetType & offset = FloatOffsetType(0.0) );
164 virtual double GetMetric()
const
170 virtual const double & GetRMSChange()
const
179 virtual void SetIntensityDifferenceThreshold(
double);
181 virtual double GetIntensityDifferenceThreshold()
const;
186 void PrintSelf(std::ostream & os,
Indent indent)
const;
201 void operator=(
const Self &);
244 #ifndef ITK_MANUAL_INSTANTIATION
245 #include "itkFastSymmetricForcesDemonsRegistrationFunction.hxx"