18#ifndef itkBSplineControlPointImageFunction_h
19#define itkBSplineControlPointImageFunction_h
57template <
typename TInputImage,
typename TCoordinate =
double>
59 :
public ImageFunction<TInputImage, typename TInputImage::PixelType, TCoordinate>
76 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
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;
105 using typename Superclass::ContinuousIndexType;
316#ifndef ITK_MANUAL_INSTANTIATION
317# include "itkBSplineControlPointImageFunction.hxx"
Evaluate a B-spline object given a grid of control points.
typename InputImageType::SizeType SizeType
void PrintSelf(std::ostream &os, Indent indent) const override
~BSplineControlPointImageFunction() override=default
typename InputImageType::RegionType RegionType
GradientType EvaluateGradientAtContinuousIndex(const ContinuousIndexType &) const
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
OutputType EvaluateAtParametricPoint(const PointType &) const
OutputType EvaluateAtContinuousIndex(const ContinuousIndexType &) const override
HessianComponentType EvaluateHessianAtContinuousIndex(const ContinuousIndexType &, const unsigned int) const
typename RealImageType::Pointer RealImagePointer
typename InputImageType::PixelType PixelType
typename InputImageType::RegionType InputImageRegionType
TCoordinate CoordinateType
TInputImage InputImageType
OutputType Evaluate(const PointType &) const override
typename InputImageType::SpacingType SpacingType
OutputType EvaluateAtIndex(const IndexType &) const override
void SetSplineOrder(const ArrayType &)
GradientType EvaluateGradientAtIndex(const IndexType &) const
void SetSplineOrder(const unsigned int)
BSpline kernel used for density estimation and nonparametric regression.
BSpline kernel used for density estimation and nonparametric regression.
Evaluates a function of an image at specified position.
Templated n-dimensional image class.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
A templated class holding a M x N size Matrix.
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::PointType PointType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Represent a n-dimensional size (bounds) of a n-dimensional image.