18 #ifndef __itkSymmetricForcesDemonsRegistrationFunction_h
19 #define __itkSymmetricForcesDemonsRegistrationFunction_h
60 template<
class TFixedImage,
class TMovingImage,
class TDisplacementField >
63 TMovingImage, TDisplacementField >
70 TMovingImage, TDisplacementField >
89 typedef typename FixedImageType::IndexType
IndexType;
90 typedef typename FixedImageType::SizeType
SizeType;
95 typedef typename Superclass::DisplacementFieldTypePointer
99 itkStaticConstMacro(ImageDimension,
unsigned int, Superclass::ImageDimension);
124 { m_MovingImageInterpolator = ptr; }
128 {
return m_MovingImageInterpolator; }
131 virtual TimeStepType ComputeGlobalTimeStep(
void *itkNotUsed(GlobalData) )
const
132 {
return m_TimeStep; }
136 virtual void * GetGlobalDataPointer()
const
147 virtual void ReleaseGlobalDataPointer(
void *GlobalData)
const;
150 virtual void InitializeIteration();
154 virtual PixelType ComputeUpdate(
const NeighborhoodType & neighborhood,
156 const FloatOffsetType & offset = FloatOffsetType(0.0) );
161 virtual double GetMetric()
const
165 virtual const double & GetRMSChange()
const
166 {
return m_RMSChange; }
172 virtual void SetIntensityDifferenceThreshold(
double);
174 virtual double GetIntensityDifferenceThreshold()
const;
179 void PrintSelf(std::ostream & os,
Indent indent)
const;
194 void operator=(
const Self &);
233 #ifndef ITK_MANUAL_INSTANTIATION
234 #include "itkSymmetricForcesDemonsRegistrationFunction.hxx"