ITK  4.6.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform > Class Template Reference

#include <itkSyNImageRegistrationMethod.h>

+ Inheritance diagram for itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >:
+ Collaboration diagram for itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >:

Detailed Description

template<typename TFixedImage, typename TMovingImage, typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
class itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >

Interface method for the performing greedy SyN image registration.

For greedy SyN we use m_Transform to map the time-parameterized middle image to the fixed image (and vice versa using m_Transform->GetInverseDisplacementField() ). We employ another ivar, m_InverseTransform, to map the time-parameterized middle image to the moving image.

Output: The output is the updated transform which has been added to the composite transform.

This implementation is based on the source code in Advanced Normalization Tools (ANTs)

Avants, B. B.; Tustison, N. J.; Song, G.; Cook, P. A.; Klein, A. & Gee, J. C. A reproducible evaluation of ANTs similarity metric performance in brain image registration. Neuroimage, Penn Image Computing and Science Laboratory, University of Pennsylvania, 2011, 54, 2033-2044

The original paper discussing the method is here:

Avants, B. B.; Epstein, C. L.; Grossman, M. & Gee, J. C. Symmetric diffeomorphic image registration with cross-correlation: evaluating automated labeling of elderly and neurodegenerative brain. Med Image Anal, Department of Radiology, University of Pennsylvania, 2008, 12, 26-41

The method evolved since that time with crucial contributions from Gang Song and Nick Tustison. Though similar in spirit, this implementation is not identical.

Todo:
Need to allow the fixed image to have a composite transform.
Author
Nick Tustison
Brian Avants

Definition at line 67 of file itkSyNImageRegistrationMethod.h.

Public Types

typedef
Superclass::CompositeTransformType 
CompositeTransformType
 
typedef SmartPointer< const SelfConstPointer
 
typedef
DecoratedOutputTransformType::Pointer 
DecoratedOutputTransformPointer
 
typedef
Superclass::DecoratedOutputTransformType 
DecoratedOutputTransformType
 
typedef
OutputTransformType::DerivativeType 
DerivativeType
 
typedef DerivativeType::ValueType DerivativeValueType
 
typedef
DisplacementFieldType::Pointer 
DisplacementFieldPointer
 
typedef
OutputTransformType::DisplacementFieldType 
DisplacementFieldType
 
typedef
DisplacementFieldType::PixelType 
DisplacementVectorType
 
typedef
ImageMetricType::FixedImageMaskType 
FixedImageMaskType
 
typedef FixedImageType::Pointer FixedImagePointer
 
typedef
Superclass::FixedImagesContainerType 
FixedImagesContainerType
 
typedef TFixedImage FixedImageType
 
typedef ImageMetricType::Pointer ImageMetricPointer
 
typedef Superclass::ImageMetricType ImageMetricType
 
typedef
Superclass::InitialTransformType 
InitialTransformType
 
typedef
ImageMetricType::MeasureType 
MeasureType
 
typedef
ImageMetricType::MovingImageMaskType 
MovingImageMaskType
 
typedef MovingImageType::Pointer MovingImagePointer
 
typedef
Superclass::MovingImagesContainerType 
MovingImagesContainerType
 
typedef TMovingImage MovingImageType
 
typedef Superclass::MultiMetricType MultiMetricType
 
typedef Array< SizeValueTypeNumberOfIterationsArrayType
 
typedef
OutputTransformType::Pointer 
OutputTransformPointer
 
typedef TOutputTransform OutputTransformType
 
typedef SmartPointer< SelfPointer
 
typedef
OutputTransformType::ScalarType 
RealType
 
typedef SyNImageRegistrationMethod Self
 
typedef
ImageRegistrationMethodv4
< TFixedImage, TMovingImage,
TOutputTransform > 
Superclass
 
typedef
CompositeTransformType::TransformType 
TransformBaseType
 
typedef
ImageMetricType::VirtualImageType 
VirtualImageType
 
- Public Types inherited from itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform >
typedef
CompositeTransformType::Pointer 
CompositeTransformPointer
 
typedef CompositeTransform
< RealType, ImageDimension
CompositeTransformType
 
typedef SmartPointer< const SelfConstPointer
 
typedef
ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef
DecoratedInitialTransformType::Pointer 
DecoratedInitialTransformPointer
 
typedef DataObjectDecorator
< InitialTransformType
DecoratedInitialTransformType
 
typedef
DecoratedOutputTransformType::Pointer 
DecoratedOutputTransformPointer
 
typedef DataObjectDecorator
< OutputTransformType
DecoratedOutputTransformType
 
typedef
OutputTransformType::DerivativeType 
DerivativeType
 
typedef DerivativeType::ValueType DerivativeValueType
 
typedef FixedImageType::Pointer FixedImagePointer
 
typedef std::vector
< FixedImagePointer
FixedImagesContainerType
 
typedef TFixedImage FixedImageType
 
typedef ImageToImageMetricv4
< FixedImageType,
MovingImageType,
VirtualImageType, RealType
ImageMetricType
 
typedef
InitialTransformType::Pointer 
InitialTransformPointer
 
typedef Transform< RealType,
ImageDimension, ImageDimension
InitialTransformType
 
typedef MetricType::Pointer MetricPointer
 
typedef
ImageMetricType::FixedSampledPointSetType 
MetricSamplePointSetType
 
typedef Array< RealTypeMetricSamplingPercentageArrayType
 
enum  MetricSamplingStrategyType
 
typedef
ObjectToObjectMetricBaseTemplate
< RealType
MetricType
 
typedef MovingImageType::Pointer MovingImagePointer
 
typedef std::vector
< MovingImagePointer
MovingImagesContainerType
 
typedef TMovingImage MovingImageType
 
typedef
ObjectToObjectMultiMetricv4
< ImageDimension,
ImageDimension,
VirtualImageType, RealType
MultiMetricType
 
typedef OptimizerType::Pointer OptimizerPointer
 
typedef
ObjectToObjectOptimizerBaseTemplate
< RealType
OptimizerType
 
typedef OptimizerType::ScalesType OptimizerWeightsType
 
typedef
OutputTransformType::Pointer 
OutputTransformPointer
 
typedef TOutputTransform OutputTransformType
 
typedef SmartPointer< SelfPointer
 
typedef
OutputTransformType::ScalarType 
RealType
 
typedef ImageRegistrationMethodv4 Self
 
typedef Array< SizeValueTypeShrinkFactorsArrayType
 
typedef
ShrinkFilterType::ShrinkFactorsType 
ShrinkFactorsPerDimensionContainerType
 
typedef ShrinkImageFilter
< FixedImageType,
VirtualImageType
ShrinkFilterType
 
typedef Array< RealTypeSmoothingSigmasArrayType
 
typedef ProcessObject Superclass
 
typedef
TransformParametersAdaptorType::Pointer 
TransformParametersAdaptorPointer
 
typedef std::vector
< TransformParametersAdaptorPointer
TransformParametersAdaptorsContainerType
 
typedef
TransformParametersAdaptorBase
< InitialTransformType
TransformParametersAdaptorType
 
typedef TFixedImage VirtualImageType
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
virtual void SetLearningRate (RealType _arg)
 
virtual RealType GetLearningRate () const
 
virtual void SetNumberOfIterationsPerLevel (NumberOfIterationsArrayType _arg)
 
virtual NumberOfIterationsArrayType GetNumberOfIterationsPerLevel () const
 
virtual void SetConvergenceThreshold (RealType _arg)
 
virtual RealType GetConvergenceThreshold () const
 
virtual void SetConvergenceWindowSize (unsigned int _arg)
 
virtual unsigned int GetConvergenceWindowSize () const
 
virtual void SetDownsampleImagesForMetricDerivatives (bool _arg)
 
virtual bool GetDownsampleImagesForMetricDerivatives () const
 
virtual void SetAverageMidPointGradients (bool _arg)
 
virtual bool GetAverageMidPointGradients () const
 
virtual void SetGaussianSmoothingVarianceForTheUpdateField (RealType _arg)
 
virtual const RealTypeGetGaussianSmoothingVarianceForTheUpdateField () const
 
virtual void SetGaussianSmoothingVarianceForTheTotalField (RealType _arg)
 
virtual const RealTypeGetGaussianSmoothingVarianceForTheTotalField () const
 
virtual const OutputTransformTypeGetFixedToMiddleTransform () const
 
virtual const OutputTransformTypeGetMovingToMiddleTransform () const
 
- Public Member Functions inherited from itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const RealTypeGetCurrentConvergenceValue () const
 
virtual const SizeValueTypeGetCurrentIteration () const
 
virtual SizeValueType GetCurrentLevel () const
 
virtual const RealTypeGetCurrentMetricValue () const
 
virtual const bool & GetIsConverged () const
 
virtual OutputTransformTypeGetModifiableTransform ()
 
virtual const OutputTransformTypeGetTransform () const
 
virtual
DecoratedOutputTransformType
GetTransformOutput ()
 
virtual const
DecoratedOutputTransformType
GetTransformOutput () const
 
 itkSetGetDecoratedObjectInputMacro (FixedInitialTransform, InitialTransformType)
 
 itkSetGetDecoratedObjectInputMacro (MovingInitialTransform, InitialTransformType)
 
 itkSetGetDecoratedObjectInputMacro (InitialTransform, InitialTransformType)
 
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType) ITK_OVERRIDE
 
void SetMetricSamplingPercentage (const RealType)
 
virtual void SetFixedImage (const FixedImageType *image)
 
virtual void SetFixedImage (SizeValueType, const FixedImageType *)
 
virtual const FixedImageTypeGetFixedImage () const
 
virtual const FixedImageTypeGetFixedImage (SizeValueType) const
 
virtual void SetMovingImage (const MovingImageType *image)
 
virtual void SetMovingImage (SizeValueType, const MovingImageType *)
 
virtual const MovingImageTypeGetMovingImage () const
 
virtual const MovingImageTypeGetMovingImage (SizeValueType) const
 
virtual void SetOptimizer (OptimizerType *_arg)
 
virtual OptimizerTypeGetModifiableOptimizer ()
 
virtual const OptimizerTypeGetOptimizer () const
 
void SetOptimizerWeights (OptimizerWeightsType &)
 
virtual OptimizerWeightsType GetOptimizerWeights () const
 
virtual void SetMetric (MetricType *_arg)
 
virtual MetricTypeGetModifiableMetric ()
 
virtual const MetricTypeGetMetric () const
 
virtual void SetMetricSamplingStrategy (MetricSamplingStrategyType _arg)
 
virtual MetricSamplingStrategyType GetMetricSamplingStrategy () const
 
virtual void SetMetricSamplingPercentagePerLevel (MetricSamplingPercentageArrayType _arg)
 
virtual
MetricSamplingPercentageArrayType 
GetMetricSamplingPercentagePerLevel () const
 
void SetTransformParametersAdaptorsPerLevel (TransformParametersAdaptorsContainerType &)
 
const
TransformParametersAdaptorsContainerType
GetTransformParametersAdaptorsPerLevel () const
 
void SetNumberOfLevels (const SizeValueType)
 
virtual SizeValueType GetNumberOfLevels () const
 
void SetShrinkFactorsPerLevel (ShrinkFactorsArrayType factors)
 
ShrinkFactorsPerDimensionContainerType GetShrinkFactorsPerDimension (const unsigned int level) const
 
void SetShrinkFactorsPerDimension (unsigned int level, ShrinkFactorsPerDimensionContainerType factors)
 
virtual void SetSmoothingSigmasPerLevel (SmoothingSigmasArrayType _arg)
 
virtual SmoothingSigmasArrayType GetSmoothingSigmasPerLevel () const
 
virtual void SetSmoothingSigmasAreSpecifiedInPhysicalUnits (bool _arg)
 
virtual bool GetSmoothingSigmasAreSpecifiedInPhysicalUnits () const
 
virtual void SmoothingSigmasAreSpecifiedInPhysicalUnitsOn ()
 
virtual void SmoothingSigmasAreSpecifiedInPhysicalUnitsOff ()
 
virtual
DecoratedOutputTransformType
GetOutput ()
 
virtual const
DecoratedOutputTransformType
GetOutput () const
 
virtual void SetInPlace (bool _arg)
 
virtual bool GetInPlace () const
 
virtual void InPlaceOn ()
 
virtual void InPlaceOff ()
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
NameArray GetInputNames () const
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
virtual const float & GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
DataObjectPointerArray GetInputs ()
 
DataObjectPointerArray GetOutputs ()
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
void SetProgress (float progress)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const ITK_OVERRIDE
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_OVERRIDE
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = TFixedImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform >
static const unsigned int ImageDimension
 

Protected Member Functions

virtual DisplacementFieldPointer ComputeUpdateField (const FixedImagesContainerType, const TransformBaseType *, const MovingImagesContainerType, const TransformBaseType *, const FixedImageMaskType *, MeasureType &)
 
virtual DisplacementFieldPointer GaussianSmoothDisplacementField (const DisplacementFieldType *, const RealType)
 
virtual void GenerateData ()
 
virtual void InitializeRegistrationAtEachLevel (const SizeValueType)
 
virtual DisplacementFieldPointer InvertDisplacementField (const DisplacementFieldType *, const DisplacementFieldType *=NULL)
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void StartOptimization ()
 
 SyNImageRegistrationMethod ()
 
virtual ~SyNImageRegistrationMethod ()
 
- Protected Member Functions inherited from itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform >
virtual void AllocateOutputs ()
 
 ImageRegistrationMethodv4 ()
 
virtual void SetMetricSamplePoints ()
 
virtual ~ImageRegistrationMethodv4 ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryOutput (DataObject *output)
 
virtual void VerifyInputInformation ()
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PopBackInput ()
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void PopFrontInput ()
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName (void) const
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
void SetRequiredInputNames (const NameArray &)
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName (void) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

bool m_AverageMidPointGradients
 
RealType m_ConvergenceThreshold
 
unsigned int m_ConvergenceWindowSize
 
bool m_DownsampleImagesForMetricDerivatives
 
OutputTransformPointer m_FixedToMiddleTransform
 
RealType m_LearningRate
 
OutputTransformPointer m_MovingToMiddleTransform
 
NumberOfIterationsArrayType m_NumberOfIterationsPerLevel
 
- Protected Attributes inherited from itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform >
CompositeTransformPointer m_CompositeTransform
 
RealType m_CurrentConvergenceValue
 
SizeValueType m_CurrentIteration
 
SizeValueType m_CurrentLevel
 
RealType m_CurrentMetricValue
 
FixedImagesContainerType m_FixedSmoothImages
 
bool m_IsConverged
 
MetricPointer m_Metric
 
MetricSamplingPercentageArrayType m_MetricSamplingPercentagePerLevel
 
MetricSamplingStrategyType m_MetricSamplingStrategy
 
MovingImagesContainerType m_MovingSmoothImages
 
SizeValueType m_NumberOfFixedImages
 
SizeValueType m_NumberOfLevels
 
SizeValueType m_NumberOfMovingImages
 
OptimizerPointer m_Optimizer
 
OptimizerWeightsType m_OptimizerWeights
 
bool m_OptimizerWeightsAreIdentity
 
OutputTransformPointer m_OutputTransform
 
std::vector
< ShrinkFactorsPerDimensionContainerType
m_ShrinkFactorsPerLevel
 
bool m_SmoothingSigmasAreSpecifiedInPhysicalUnits
 
SmoothingSigmasArrayType m_SmoothingSigmasPerLevel
 
TransformParametersAdaptorsContainerType m_TransformParametersAdaptorsPerLevel
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Private Member Functions

void operator= (const Self &)
 
 SyNImageRegistrationMethod (const Self &)
 

Private Attributes

RealType m_GaussianSmoothingVarianceForTheTotalField
 
RealType m_GaussianSmoothingVarianceForTheUpdateField
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 

Member Typedef Documentation

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef Superclass::CompositeTransformType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::CompositeTransformType

Definition at line 113 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef SmartPointer<const Self> itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::ConstPointer

Definition at line 75 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef DecoratedOutputTransformType::Pointer itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::DecoratedOutputTransformPointer

Definition at line 117 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef Superclass::DecoratedOutputTransformType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::DecoratedOutputTransformType

Definition at line 116 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef OutputTransformType::DerivativeType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::DerivativeType

Definition at line 107 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef DerivativeType::ValueType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::DerivativeValueType

Definition at line 108 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef DisplacementFieldType::Pointer itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::DisplacementFieldPointer

Definition at line 110 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef OutputTransformType::DisplacementFieldType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::DisplacementFieldType

Definition at line 109 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef DisplacementFieldType::PixelType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::DisplacementVectorType

Definition at line 111 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef ImageMetricType::FixedImageMaskType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::FixedImageMaskType

Definition at line 100 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef FixedImageType::Pointer itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::FixedImagePointer

Definition at line 88 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef Superclass::FixedImagesContainerType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::FixedImagesContainerType

Definition at line 89 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef TFixedImage itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::FixedImageType

Input typedefs for the images.

Definition at line 84 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef ImageMetricType::Pointer itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::ImageMetricPointer

Definition at line 96 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef Superclass::ImageMetricType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::ImageMetricType

Metric and transform typedefs

Definition at line 95 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef Superclass::InitialTransformType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::InitialTransformType

Definition at line 103 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef ImageMetricType::MeasureType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::MeasureType

Definition at line 98 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef ImageMetricType::MovingImageMaskType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::MovingImageMaskType

Definition at line 101 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef MovingImageType::Pointer itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::MovingImagePointer

Definition at line 91 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef Superclass::MovingImagesContainerType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::MovingImagesContainerType

Definition at line 92 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef TMovingImage itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::MovingImageType

Definition at line 90 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef Superclass::MultiMetricType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::MultiMetricType

Definition at line 99 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef Array<SizeValueType> itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::NumberOfIterationsArrayType

Definition at line 119 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef OutputTransformType::Pointer itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::OutputTransformPointer

Definition at line 105 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef TOutputTransform itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::OutputTransformType

Definition at line 104 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef SmartPointer<Self> itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::Pointer

Definition at line 74 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef OutputTransformType::ScalarType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::RealType

Definition at line 106 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef SyNImageRegistrationMethod itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::Self

Standard class typedefs.

Definition at line 72 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef ImageRegistrationMethodv4<TFixedImage, TMovingImage, TOutputTransform> itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::Superclass

Definition at line 73 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef CompositeTransformType::TransformType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::TransformBaseType

Definition at line 114 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
typedef ImageMetricType::VirtualImageType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::VirtualImageType

Definition at line 97 of file itkSyNImageRegistrationMethod.h.

Constructor & Destructor Documentation

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::SyNImageRegistrationMethod ( )
protected
template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::~SyNImageRegistrationMethod ( )
protectedvirtual
template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::SyNImageRegistrationMethod ( const Self )
private

Member Function Documentation

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual DisplacementFieldPointer itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::ComputeUpdateField ( const FixedImagesContainerType  ,
const TransformBaseType ,
const MovingImagesContainerType  ,
const TransformBaseType ,
const FixedImageMaskType ,
MeasureType  
)
protectedvirtual
template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual::itk::LightObject::Pointer itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::CreateAnother ( void  ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual DisplacementFieldPointer itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::GaussianSmoothDisplacementField ( const DisplacementFieldType ,
const RealType   
)
protectedvirtual
template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual void itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::GenerateData ( )
protectedvirtual
template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual bool itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::GetAverageMidPointGradients ( ) const
virtual

Allow the user to average the gradients in the mid-point domain. Default false. One might choose to do this to further reduce bias.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual RealType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::GetConvergenceThreshold ( ) const
virtual

Set/Get the convergence threshold

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual unsigned int itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::GetConvergenceWindowSize ( ) const
virtual

Set/Get the convergence window size

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual bool itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::GetDownsampleImagesForMetricDerivatives ( ) const
virtual

Let the user control whether we compute metric derivatives in the downsampled or full-res space. The default is 'true' — classic SyN — but there may be advantages to the other approach. Classic SyN did not have this possibility. This implementation will let us explore the question.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual const OutputTransformType* itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::GetFixedToMiddleTransform ( ) const
virtual

Get the FixedToMiddle and MovingToMidle transform to track the registration procedure at each iteration.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual const RealType& itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::GetGaussianSmoothingVarianceForTheTotalField ( ) const
virtual

Get/Set the Gaussian smoothing variance for the total field. Default = 0.5.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual const RealType& itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::GetGaussianSmoothingVarianceForTheUpdateField ( ) const
virtual

Get/Set the Gaussian smoothing variance for the update field. Default = 1.75.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual RealType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::GetLearningRate ( ) const
virtual

Set/Get the learning rate.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual const OutputTransformType* itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::GetMovingToMiddleTransform ( ) const
virtual

Get the FixedToMiddle and MovingToMidle transform to track the registration procedure at each iteration.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual const char* itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::GetNameOfClass ( ) const
virtual
template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual NumberOfIterationsArrayType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::GetNumberOfIterationsPerLevel ( ) const
virtual

Set/Get the number of iterations per level.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual void itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::InitializeRegistrationAtEachLevel ( const SizeValueType  )
protectedvirtual

Initialize by setting the interconnects between the components. Need to override in the SyN class since we need to "adapt" the m_InverseTransform

Reimplemented from itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform >.

Reimplemented in itk::BSplineSyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual DisplacementFieldPointer itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::InvertDisplacementField ( const DisplacementFieldType ,
const DisplacementFieldType = NULL 
)
protectedvirtual
template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
static Pointer itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::New ( )
static

Method for creation through the object factory.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
void itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::operator= ( const Self )
private
template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual void itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::ImageRegistrationMethodv4< TFixedImage, TMovingImage, TOutputTransform >.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual void itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::SetAverageMidPointGradients ( bool  _arg)
virtual

Allow the user to average the gradients in the mid-point domain. Default false. One might choose to do this to further reduce bias.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual void itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::SetConvergenceThreshold ( RealType  _arg)
virtual

Set/Get the convergence threshold

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual void itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::SetConvergenceWindowSize ( unsigned int  _arg)
virtual

Set/Get the convergence window size

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual void itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::SetDownsampleImagesForMetricDerivatives ( bool  _arg)
virtual

Let the user control whether we compute metric derivatives in the downsampled or full-res space. The default is 'true' — classic SyN — but there may be advantages to the other approach. Classic SyN did not have this possibility. This implementation will let us explore the question.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual void itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::SetGaussianSmoothingVarianceForTheTotalField ( RealType  _arg)
virtual

Get/Set the Gaussian smoothing variance for the total field. Default = 0.5.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual void itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::SetGaussianSmoothingVarianceForTheUpdateField ( RealType  _arg)
virtual

Get/Set the Gaussian smoothing variance for the update field. Default = 1.75.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual void itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::SetLearningRate ( RealType  _arg)
virtual

Set/Get the learning rate.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual void itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::SetNumberOfIterationsPerLevel ( NumberOfIterationsArrayType  _arg)
virtual

Set/Get the number of iterations per level.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
virtual void itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::StartOptimization ( )
protectedvirtual

Member Data Documentation

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
const unsigned int itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::ImageDimension = TFixedImage::ImageDimension
static

ImageDimension constants

Definition at line 81 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
bool itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::m_AverageMidPointGradients
protected

Definition at line 209 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
RealType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::m_ConvergenceThreshold
protected

Definition at line 204 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
unsigned int itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::m_ConvergenceWindowSize
protected

Definition at line 205 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
bool itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::m_DownsampleImagesForMetricDerivatives
protected

Definition at line 208 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
OutputTransformPointer itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::m_FixedToMiddleTransform
protected

Definition at line 202 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
RealType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::m_GaussianSmoothingVarianceForTheTotalField
private

Definition at line 216 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
RealType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::m_GaussianSmoothingVarianceForTheUpdateField
private

Definition at line 215 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
RealType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::m_LearningRate
protected

Definition at line 199 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
OutputTransformPointer itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::m_MovingToMiddleTransform
protected

Definition at line 201 of file itkSyNImageRegistrationMethod.h.

template<typename TFixedImage , typename TMovingImage , typename TOutputTransform = DisplacementFieldTransform<double, TFixedImage::ImageDimension>>
NumberOfIterationsArrayType itk::SyNImageRegistrationMethod< TFixedImage, TMovingImage, TOutputTransform >::m_NumberOfIterationsPerLevel
protected

Definition at line 207 of file itkSyNImageRegistrationMethod.h.


The documentation for this class was generated from the following file: