18#ifndef itkSingleImageCostFunction_h
19#define itkSingleImageCostFunction_h
52template <
typename TImage>
115 itkGetConstReferenceMacro(DerivativeThreshold, DerivativeType::ValueType);
170#ifndef ITK_MANUAL_INSTANTIATION
171# include "itkSingleImageCostFunction.hxx"
A templated class holding a point in n-Dimensional image space.
Templated n-dimensional image class.
Control indentation during Print() invocation.
Base class for all image interpolators.
SmartPointer< Self > Pointer
Linearly interpolate an image at specified positions.
static constexpr T NonpositiveMin()
static constexpr T max(const T &)
Calculate the derivative by central differencing in physical space.
SmartPointer< Self > Pointer
A templated class holding a geometric point in n-Dimensional space.
SingleImageCostFunction Self
typename ImageType::ConstPointer ImageConstPointer
typename Superclass::DerivativeType DerivativeType
typename Superclass::MeasureType MeasureType
SmartPointer< Self > Pointer
PhysicalCentralDifferenceImageFunction< ImageType, CoordinateType > GradientImageFunctionType
InterpolateImageFunction< ImageType, CoordinateType > InterpolatorType
static constexpr unsigned int ImageDimension
GradientImageFunctionType::Pointer m_GradientImageFunction
Point< CoordinateType, ImageDimension > PointType
SmartPointer< const Self > ConstPointer
unsigned int GetNumberOfParameters() const override
Index< ImageDimension > IndexType
DerivativeType::ValueType m_DerivativeThreshold
InterpolatorType::Pointer m_Interpolator
void PrintSelf(std::ostream &os, Indent indent) const override
~SingleImageCostFunction() override=default
LinearInterpolateImageFunction< ImageType, CoordinateType > DefaultInterpolatorType
MeasureType GetValue(const ParametersType ¶meters) const override
Superclass::ParametersValueType CoordinateType
ImagePixelType m_OutsideValue
SingleValuedCostFunction Superclass
ContinuousIndex< CoordinateType, ImageDimension > ContinuousIndexType
ImageConstPointer m_Image
void GetDerivative(const ParametersType ¶meters, DerivativeType &derivative) const override
typename InputImageType::PixelType ImagePixelType
virtual void Initialize()
SingleImageCostFunction()
typename Superclass::ParametersType ParametersType
Array< ParametersValueType > DerivativeType
Superclass::ParametersValueType ParametersValueType
SingleValuedCostFunction()=default
Superclass::ParametersType ParametersType
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
#define itkSetMacro(name, type)
Represent a n-dimensional index in a n-dimensional image.