18#ifndef itkBlockMatchingOptimizingInterpolationDisplacementCalculator_h
19#define itkBlockMatchingOptimizingInterpolationDisplacementCalculator_h
45template <
typename TMetricImage,
typename TDisplacementImage,
typename TCoordRep =
double>
69 using PixelType =
typename MetricImageType::PixelType;
201#ifndef ITK_MANUAL_INSTANTIATION
202# include "itkBlockMatchingOptimizingInterpolationDisplacementCalculator.hxx"
TMetricImage MetricImageType
typename DisplacementImageType::PointType PointType
DisplacementImagePointerType m_DisplacementImage
typename MetricImageType::IndexType IndexType
static constexpr unsigned int ImageDimension
MetricImageToDisplacementCalculator()
typename MetricImageType::Pointer MetricImagePointerType
InterpolatorType::Pointer m_Interpolator
OptimizingInterpolationCostFunction Self
Superclass::DerivativeType DerivativeType
ParametersType::ValueType * m_PreviousParametersPtr
OptimizingInterpolationCostFunction()
CostFunctionType Superclass
ParametersType m_PreviousParameters
SmartPointer< Self > Pointer
ContinuousIndexType m_ContinuousIndex
MeasureType GetValue(const ParametersType ¶meters) const override
ContinuousIndexType::ValueType * m_ContinuousIndexPtr
unsigned int GetNumberOfParameters() const override
Superclass::ParametersType ParametersType
void Initialize(const ParametersType ¶meters)
Superclass::MeasureType MeasureType
void GetDerivative(const ParametersType ¶meters, DerivativeType &derivative) const override
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
OptimizerType::Pointer m_Optimizer
MetricImageToDisplacementCalculator< MetricImageType, DisplacementImageType > Superclass
InterpolatorType * GetInterpolator()
typename OptimizerType::CostFunctionType CostFunctionType
virtual void SetInterpolator(InterpolatorType *interpolator)
virtual void SetOptimizer(OptimizerType *optimizer)
typename MetricImageType::SpacingType SpacingType
typename Superclass::PointType PointType
typename Superclass::IndexType IndexType
OptimizingInterpolationCostFunction::Pointer m_CostFunction
typename itk::InterpolateImageFunction< MetricImageType, double > InterpolatorType
OptimizingInterpolationDisplacementCalculator Self
typename MetricImageType::PixelType PixelType
SingleValuedNonLinearOptimizer OptimizerType
OptimizingInterpolationDisplacementCalculator()
typename InterpolatorType::ContinuousIndexType ContinuousIndexType
void SetMetricImagePixel(const PointType &point, const IndexType &index, MetricImageType *image) override
typename Superclass::MetricImageType MetricImageType
typename Superclass::MetricImagePointerType MetricImagePointerType
static constexpr unsigned int ImageDimension
Base class for all image interpolators.
virtual void Modified() const
Generic representation for an optimization method.
This class is a base for the Optimization methods that optimize a single valued function.
SingleValuedCostFunction CostFunctionType
SmartPointer< Self > Pointer
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....