18 #ifndef __itkVariationalRegistrationNCCFunction_h 19 #define __itkVariationalRegistrationNCCFunction_h 63 template<
class TFixedImage,
class TMovingImage,
class TDisplacementField >
82 itkStaticConstMacro(ImageDimension,
unsigned int,Superclass::ImageDimension);
96 typedef typename FixedImageType::IndexType
IndexType;
97 typedef typename FixedImageType::SizeType
SizeType;
102 typedef typename Superclass::DisplacementFieldTypePointer
117 virtual void InitializeIteration();
121 virtual PixelType ComputeUpdate(
const NeighborhoodType &neighborhood,
123 const FloatOffsetType &offset = FloatOffsetType(0.0) );
127 { m_GradientType = GRADIENT_TYPE_FIXED; }
131 { m_GradientType = GRADIENT_TYPE_WARPED; }
136 { m_GradientType = GRADIENT_TYPE_SYMMETRIC; }
148 virtual void PrintSelf(std::ostream& os,
Indent indent)
const;
157 GRADIENT_TYPE_WARPED = 0,
158 GRADIENT_TYPE_FIXED = 1,
159 GRADIENT_TYPE_SYMMETRIC = 2
164 void operator=(
const Self&);
183 #ifndef ITK_MANUAL_INSTANTIATION 184 #include "itkVariationalRegistrationNCCFunction.hxx" Base class for force calculation in the variational registration framework.
This class computes NCC forces in the variational registration framework.
Superclass::DisplacementFieldTypePointer DisplacementFieldTypePointer
VariationalRegistrationFunction< TFixedImage, TMovingImage, TDisplacementField > Superclass
Superclass::FixedImagePointer FixedImagePointer
FixedImageType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
ConstNeighborhoodIterator< TDisplacementField >::RadiusType RadiusType
Superclass::PixelType PixelType
Calculate the derivative by central differencing.
Superclass::MovingImageType MovingImageType
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
~VariationalRegistrationNCCFunction()
Superclass::MaskImageType MaskImageType
virtual void SetGradientTypeToSymmetric()
Superclass::MaskImagePointer MaskImagePointer
A templated class holding a n-Dimensional vector.
Superclass::DisplacementFieldType DisplacementFieldType
virtual void SetGradientTypeToWarpedMovingImage()
ImageType::PixelType PixelType
VariationalRegistrationNCCFunction Self
Superclass::RadiusType RadiusType
Superclass::MovingImagePointer MovingImagePointer
Superclass::NeighborhoodType NeighborhoodType
ConstNeighborhoodIterator< FixedImageType > FixedImageNeighborhoodIteratorType
GradientCalculatorType::Pointer GradientCalculatorPointer
FixedImageType::IndexType IndexType
SmartPointer< const Self > ConstPointer
Superclass::FixedImageType FixedImageType
GradientCalculatorPointer m_FixedImageGradientCalculator
Control indentation during Print() invocation.
GradientType m_GradientType
Superclass::GlobalDataStruct GlobalDataStruct
CentralDifferenceImageFunction< FixedImageType > GradientCalculatorType
FixedImageType::SpacingType SpacingType
GradientCalculatorPointer m_WarpedImageGradientCalculator
Superclass::FloatOffsetType FloatOffsetType
virtual void SetGradientTypeToFixedImage()
SmartPointer< Self > Pointer