18 #ifndef __itkLevelSetMotionRegistrationFunction_h
19 #define __itkLevelSetMotionRegistrationFunction_h
53 template<
class TFixedImage,
class TMovingImage,
class TDisplacementField >
64 TMovingImage, TDisplacementField
85 typedef typename FixedImageType::IndexType
IndexType;
86 typedef typename FixedImageType::SizeType
SizeType;
91 typedef typename Superclass::DisplacementFieldTypePointer
95 itkStaticConstMacro(ImageDimension,
unsigned
96 int, Superclass::ImageDimension);
127 { m_MovingImageInterpolator = ptr; }
131 {
return m_MovingImageInterpolator; }
135 virtual TimeStepType ComputeGlobalTimeStep(
void *GlobalData)
const;
139 virtual void * GetGlobalDataPointer()
const
151 virtual void ReleaseGlobalDataPointer(
void *GlobalData)
const;
154 virtual void InitializeIteration();
158 virtual PixelType ComputeUpdate(
const NeighborhoodType & neighborhood,
160 const FloatOffsetType & offset =
161 FloatOffsetType(0.0) );
166 virtual double GetMetric()
const
170 virtual double GetRMSChange()
const
171 {
return m_RMSChange; }
179 virtual void SetAlpha(
double);
181 virtual double GetAlpha()
const;
187 virtual void SetIntensityDifferenceThreshold(
double);
189 virtual double GetIntensityDifferenceThreshold()
const;
193 virtual void SetGradientMagnitudeThreshold(
double);
195 virtual double GetGradientMagnitudeThreshold()
const;
199 virtual void SetGradientSmoothingStandardDeviations(
double);
201 virtual double GetGradientSmoothingStandardDeviations()
const;
206 void SetUseImageSpacing(
bool);
208 bool GetUseImageSpacing()
const;
213 void PrintSelf(std::ostream & os,
Indent indent)
const;
230 void operator=(
const Self &);
272 #ifndef ITK_MANUAL_INSTANTIATION
273 #include "itkLevelSetMotionRegistrationFunction.hxx"