18 #ifndef itkTimeVaryingVelocityFieldImageRegistrationMethodv4_h
19 #define itkTimeVaryingVelocityFieldImageRegistrationMethodv4_h
83 template<
typename TFixedImage,
typename TMovingImage,
typename TOutputTransform =
84 GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform<double, TFixedImage::ImageDimension>,
85 typename TVirtualImage = TFixedImage,
86 typename TPointSet = PointSet<unsigned int, TFixedImage::ImageDimension> >
96 TVirtualImage, TPointSet>;
104 static constexpr
unsigned int ImageDimension = TFixedImage::ImageDimension;
126 using RealType =
typename OutputTransformType::ScalarType;
143 itkSetMacro( LearningRate,
RealType );
144 itkGetConstMacro( LearningRate,
RealType );
153 itkSetMacro( ConvergenceThreshold,
RealType );
154 itkGetConstMacro( ConvergenceThreshold,
RealType );
158 itkSetMacro( ConvergenceWindowSize,
unsigned int );
159 itkGetConstMacro( ConvergenceWindowSize,
unsigned int );
165 void PrintSelf( std::ostream & os,
Indent indent )
const override;
168 void GenerateData()
override;
174 virtual void StartOptimization();
180 unsigned int m_ConvergenceWindowSize{ 10 };
186 #ifndef ITK_MANUAL_INSTANTIATION
187 #include "itkTimeVaryingVelocityFieldImageRegistrationMethodv4.hxx"
typename ImageMetricType::Pointer ImageMetricPointer
TMovingImage MovingImageType
Light weight base class for most itk classes.
typename OutputTransformType::DerivativeType DerivativeType
This class takes one ore more ObjectToObject metrics and assigns weights to their derivatives to comp...
typename OutputTransformType::DisplacementFieldType DisplacementFieldType
TVirtualImage VirtualImageType
typename Superclass::VirtualImageType VirtualImageType
typename MovingImageType::Pointer MovingImagePointer
typename Superclass::MeasureType MeasureType
typename TimeVaryingVelocityFieldType::Pointer TimeVaryingVelocityFieldPointer
typename ImageMetricType::MeasureType MeasureType
Decorates any subclass of itkObject with a DataObject API.
typename DerivativeType::ValueType DerivativeValueType
typename TimeVaryingVelocityFieldType::PixelType DisplacementVectorType
typename DecoratedOutputTransformType::Pointer DecoratedOutputTransformPointer
RealType m_ConvergenceThreshold
unsigned int ThreadIdType
TOutputTransform OutputTransformType
typename DisplacementFieldType::Pointer DisplacementFieldPointer
typename FixedImageType::Pointer FixedImagePointer
NumberOfIterationsArrayType m_NumberOfIterationsPerLevel
typename OutputTransformType::TimeVaryingVelocityFieldType TimeVaryingVelocityFieldType
Control indentation during Print() invocation.
typename OutputTransformType::ScalarType RealType
Interface method for the current registration framework.
ImageBaseType::RegionType RegionType
TFixedImage FixedImageType
typename OutputTransformType::Pointer OutputTransformPointer
typename MovingImageType::RegionType RegionType
Interface method for the current registration framework using the time varying velocity field transfo...