18#ifndef itkBSplineControlPointImageFunction_h
19#define itkBSplineControlPointImageFunction_h
57template <
typename TInputImage,
typename TCoordinate =
double>
59 :
public ImageFunction<TInputImage, typename TInputImage::PixelType, TCoordinate>
82#ifndef ITK_FUTURE_LEGACY_REMOVE
83 using CoordRepType ITK_FUTURE_DEPRECATED(
84 "ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") =
CoordinateType;
86 using PixelType =
typename InputImageType::PixelType;
88 using IndexType =
typename InputImageType::IndexType;
94 using SizeType =
typename InputImageType::SizeType;
316#ifndef ITK_MANUAL_INSTANTIATION
317# include "itkBSplineControlPointImageFunction.hxx"
typename InputImageType::SizeType SizeType
BSplineKernelFunction< 3 > KernelOrder3Type
VariableSizeMatrix< CoordinateType > HessianComponentType
KernelOrder1Type::Pointer m_KernelOrder1
VariableSizeMatrix< CoordinateType > GradientType
void PrintSelf(std::ostream &os, Indent indent) const override
CoordinateType m_BSplineEpsilon
SmartPointer< const Self > ConstPointer
~BSplineControlPointImageFunction() override=default
typename InputImageType::RegionType RegionType
ImageFunction< TInputImage, typename TInputImage::PixelType, TCoordinate > Superclass
BSplineKernelFunction< 0 > KernelOrder0Type
GradientType EvaluateGradientAtContinuousIndex(const ContinuousIndexType &) const
BSplineControlPointImageFunction Self
RealImagePointer m_NeighborhoodWeightImage
FixedArray< unsigned int, ImageDimension > ArrayType
CoxDeBoorBSplineKernelFunction< 3 > KernelType
BSplineControlPointImageFunction()
HessianComponentType EvaluateHessianAtParametricPoint(const PointType &, const unsigned int) const
HessianComponentType EvaluateHessian(const PointType &, const unsigned int) const
void SetInputImage(const InputImageType *) override
typename InputImageType::PointType OriginType
GradientType EvaluateGradientAtParametricPoint(const PointType &) const
TInputImage ControlPointLatticeType
HessianComponentType EvaluateHessianAtIndex(const IndexType &, const unsigned int) const
GradientType EvaluateGradient(const PointType &) const
typename InputImageType::IndexType IndexType
KernelOrder0Type::Pointer m_KernelOrder0
OutputType EvaluateAtParametricPoint(const PointType &) const
ArrayType m_NumberOfControlPoints
OutputType EvaluateAtContinuousIndex(const ContinuousIndexType &) const override
Image< CoordinateType, ImageDimension > RealImageType
static constexpr unsigned int ImageDimension
HessianComponentType EvaluateHessianAtContinuousIndex(const ContinuousIndexType &, const unsigned int) const
typename RealImageType::Pointer RealImagePointer
typename InputImageType::PixelType PixelType
typename InputImageType::RegionType InputImageRegionType
TCoordinate CoordinateType
TInputImage InputImageType
BSplineKernelFunction< 1 > KernelOrder1Type
OutputType Evaluate(const PointType &) const override
typename InputImageType::SpacingType SpacingType
ArrayType m_CloseDimension
KernelType::Pointer m_Kernel[ImageDimension]
BSplineKernelFunction< 2 > KernelOrder2Type
OutputType EvaluateAtIndex(const IndexType &) const override
void SetSplineOrder(const ArrayType &)
KernelOrder2Type::Pointer m_KernelOrder2
GradientType EvaluateGradientAtIndex(const IndexType &) const
SmartPointer< Self > Pointer
void SetSplineOrder(const unsigned int)
KernelOrder3Type::Pointer m_KernelOrder3
BSpline kernel used for density estimation and nonparametric regression.
SmartPointer< Self > Pointer
BSpline kernel used for density estimation and nonparametric regression.
SmartPointer< Self > Pointer
Simulate a standard C array with copy semantics.
Point< TCoordinate, Self::ImageDimension > PointType
ContinuousIndex< TCoordinate, Self::ImageDimension > ContinuousIndexType
Templated n-dimensional image class.
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
Implements transparent reference counting.
A templated class holding a M x N size Matrix.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Represent a n-dimensional size (bounds) of a n-dimensional image.