18 #ifndef __itkVariationalRegistrationFunction_h
19 #define __itkVariationalRegistrationFunction_h
49 template<
class TFixedImage,
class TMovingImage,
class TDisplacementField>
66 itkStaticConstMacro(ImageDimension,
unsigned int,Superclass::ImageDimension);
99 { m_MovingImage = ptr; }
103 {
return m_MovingImage; }
107 { m_FixedImage = ptr; }
111 {
return m_FixedImage; }
115 { m_DisplacementField = ptr; }
119 {
return m_DisplacementField; }
123 { m_MaskImage = ptr; }
127 {
return m_MaskImage; }
131 { m_MovingImageWarper = ptr; }
135 {
return m_MovingImageWarper; }
139 { m_TimeStep = timeStep; }
143 {
return m_TimeStep; }
148 { m_MaskBackgroundThreshold = threshold; }
153 {
return m_MaskBackgroundThreshold; }
156 virtual void InitializeIteration();
162 {
return m_TimeStep; }
166 virtual void *GetGlobalDataPointer()
const;
169 virtual void ReleaseGlobalDataPointer(
void *GlobalData)
const;
181 {
return m_RMSChange; }
188 virtual void PrintSelf(std::ostream& os,
Indent indent)
const;
192 virtual void WarpMovingImage(
void);
195 virtual const WarpedImagePointer GetWarpedImage(
void)
const;
208 void operator=(
const Self&);
246 #ifndef ITK_MANUAL_INSTANTIATION
247 #include "itkVariationalRegistrationFunction.hxx"
DisplacementFieldType::ConstPointer DisplacementFieldTypePointer
Critical section locking class that can be allocated on the stack.
Base class for force calculation in the variational registration framework.
TFixedImage WarpedImageType
Light weight base class for most itk classes.
double m_SumOfMetricValues
itk::ContinuousBorderWarpImageFilter< FixedImageType, WarpedImageType, DisplacementFieldType > MovingImageWarperType
virtual const MaskImageType * GetMaskImage(void) const
virtual const MovingImageWarperType * GetMovingImageWarper(void) const
virtual const DisplacementFieldType * GetDisplacementField(void) const
FiniteDifferenceFunction< TDisplacementField > Superclass
virtual void SetMaskImage(const MaskImageType *ptr)
virtual void SetMovingImageWarper(MovingImageWarperType *ptr)
virtual double GetRMSChange() const
MovingImageWarperPointer m_MovingImageWarper
SizeValueType m_NumberOfPixelsProcessed
unsigned long SizeValueType
virtual const FixedImageType * GetFixedImage(void) const
virtual double GetMetric() const
unsigned char MaskImagePixelType
double m_SumOfSquaredChange
virtual const MovingImageType * GetMovingImage(void) const
virtual MaskImagePixelType GetMaskBackgroundThreshold(void) const
double m_SumOfSquaredChange
SimpleFastMutexLock m_MetricCalculationLock
MovingImageType::ConstPointer MovingImagePointer
virtual const TimeStepType GetTimeStep(void) const
Image< MaskImagePixelType, ImageDimension > MaskImageType
double m_SumOfMetricValues
virtual void SetDisplacementField(DisplacementFieldType *ptr)
MaskImagePixelType m_MaskBackgroundThreshold
TMovingImage MovingImageType
FixedImagePointer m_FixedImage
FixedImageType::ConstPointer FixedImagePointer
TFixedImage FixedImageType
MaskImageType::ConstPointer MaskImagePointer
virtual TimeStepType ComputeGlobalTimeStep(void *) const
Superclass::TimeStepType TimeStepType
Warps an image using an input deformation field with continuous boundary conditions.
SmartPointer< const Self > ConstPointer
Control indentation during Print() invocation.
virtual void SetMovingImage(const MovingImageType *ptr)
TDisplacementField DisplacementFieldType
DisplacementFieldTypePointer m_DisplacementField
~VariationalRegistrationFunction()
MaskImagePointer m_MaskImage
virtual void SetFixedImage(const FixedImageType *ptr)
SizeValueType m_NumberOfPixelsProcessed
Templated n-dimensional image class.
virtual void SetTimeStep(TimeStepType timeStep)
MovingImageWarperType::Pointer MovingImageWarperPointer
WarpedImageType::ConstPointer WarpedImagePointer
SmartPointer< Self > Pointer
virtual void SetMaskBackgroundThreshold(MaskImagePixelType threshold)
VariationalRegistrationFunction Self
MovingImagePointer m_MovingImage