18 #ifndef __itkSyNImageRegistrationMethod_h
19 #define __itkSyNImageRegistrationMethod_h
65 template<
typename TFixedImage,
typename TMovingImage,
typename TOutputTransform =
66 DisplacementFieldTransform<double, TFixedImage::ImageDimension> >
81 itkStaticConstMacro(
ImageDimension,
unsigned int, TFixedImage::ImageDimension );
106 typedef typename OutputTransformType::ScalarType
RealType;
122 itkSetMacro( LearningRate,
RealType );
123 itkGetConstMacro( LearningRate,
RealType );
132 itkSetMacro( ConvergenceThreshold,
RealType );
133 itkGetConstMacro( ConvergenceThreshold,
RealType );
137 itkSetMacro( ConvergenceWindowSize,
unsigned int );
138 itkGetConstMacro( ConvergenceWindowSize,
unsigned int );
145 itkSetMacro( DownsampleImagesForMetricDerivatives,
bool );
146 itkGetConstMacro( DownsampleImagesForMetricDerivatives,
bool );
152 itkSetMacro( AverageMidPointGradients,
bool );
153 itkGetConstMacro( AverageMidPointGradients,
bool );
160 itkSetMacro( GaussianSmoothingVarianceForTheUpdateField,
RealType );
161 itkGetConstReferenceMacro( GaussianSmoothingVarianceForTheUpdateField,
RealType );
168 itkSetMacro( GaussianSmoothingVarianceForTheTotalField,
RealType );
169 itkGetConstReferenceMacro( GaussianSmoothingVarianceForTheTotalField,
RealType );
220 #ifndef ITK_MANUAL_INSTANTIATION
221 #include "itkSyNImageRegistrationMethod.hxx"
SmartPointer< Self > Pointer
virtual DisplacementFieldPointer ComputeUpdateField(const FixedImagesContainerType, const TransformBaseType *, const MovingImagesContainerType, const TransformBaseType *, const FixedImageMaskType *, MeasureType &)
Light weight base class for most itk classes.
Superclass::InitialTransformType InitialTransformType
SyNImageRegistrationMethod()
ImageMetricType::FixedImageMaskType FixedImageMaskType
Superclass::DecoratedOutputTransformType DecoratedOutputTransformType
bool m_AverageMidPointGradients
OutputTransformType::ScalarType RealType
OutputTransformPointer m_MovingToMiddleTransform
static const unsigned int ImageDimension
virtual ~SyNImageRegistrationMethod()
virtual void InitializeRegistrationAtEachLevel(const SizeValueType)
NumberOfIterationsArrayType m_NumberOfIterationsPerLevel
DisplacementFieldType::PixelType DisplacementVectorType
virtual void PrintSelf(std::ostream &os, Indent indent) const
Superclass::MovingImagesContainerType MovingImagesContainerType
ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform > Superclass
OutputTransformType::DerivativeType DerivativeType
unsigned long SizeValueType
DataObjectDecorator< OutputTransformType > DecoratedOutputTransformType
DisplacementFieldType::Pointer DisplacementFieldPointer
FixedImageType::Pointer FixedImagePointer
SyNImageRegistrationMethod Self
ImageToImageMetricv4< FixedImageType, MovingImageType, VirtualImageType, RealType > ImageMetricType
CompositeTransform< RealType, ImageDimension > CompositeTransformType
virtual DisplacementFieldPointer GaussianSmoothDisplacementField(const DisplacementFieldType *, const RealType)
Array< SizeValueType > NumberOfIterationsArrayType
Superclass::FixedImagesContainerType FixedImagesContainerType
virtual void StartOptimization()
Interface method for the performing greedy SyN image registration.
std::vector< FixedImagePointer > FixedImagesContainerType
bool m_DownsampleImagesForMetricDerivatives
ImageMetricType::VirtualImageType VirtualImageType
Superclass::MultiMetricType MultiMetricType
SmartPointer< const Self > ConstPointer
RealType m_ConvergenceThreshold
virtual void GenerateData()
void operator=(const Self &)
TFixedImage FixedImageType
CompositeTransformType::TransformType TransformBaseType
Superclass::CompositeTransformType CompositeTransformType
Superclass::ImageMetricType ImageMetricType
unsigned int m_ConvergenceWindowSize
RealType m_GaussianSmoothingVarianceForTheUpdateField
ImageMetricType::MovingImageMaskType MovingImageMaskType
DerivativeType::ValueType DerivativeValueType
OutputTransformPointer m_FixedToMiddleTransform
ImageMetricType::Pointer ImageMetricPointer
virtual DisplacementFieldPointer InvertDisplacementField(const DisplacementFieldType *, const DisplacementFieldType *=NULL)
TOutputTransform OutputTransformType
ObjectToObjectMultiMetricv4< ImageDimension, ImageDimension, VirtualImageType, RealType > MultiMetricType
Control indentation during Print() invocation.
MovingImageType::Pointer MovingImagePointer
TMovingImage MovingImageType
RealType m_GaussianSmoothingVarianceForTheTotalField
Interface method for the current registration framework.
std::vector< MovingImagePointer > MovingImagesContainerType
OutputTransformType::Pointer OutputTransformPointer
DecoratedOutputTransformType::Pointer DecoratedOutputTransformPointer
Transform< RealType, ImageDimension, ImageDimension > InitialTransformType
ImageMetricType::MeasureType MeasureType
OutputTransformType::DisplacementFieldType DisplacementFieldType