18 #ifndef itkBSplineControlPointImageFunction_h
19 #define itkBSplineControlPointImageFunction_h
57 template <
typename TInputImage,
typename TCoordRep =
double>
59 :
public ImageFunction<TInputImage, typename TInputImage::PixelType, TCoordRep>
75 itkStaticConstMacro( ImageDimension,
unsigned int, TInputImage::ImageDimension );
81 typedef typename InputImageType::PixelType
PixelType;
114 virtual void SetInputImage(
const InputImageType * ) ITK_OVERRIDE;
120 void SetSplineOrder( const
unsigned int );
126 void SetSplineOrder( const
ArrayType & );
131 itkGetConstReferenceMacro( SplineOrder, ArrayType );
149 itkSetMacro( CloseDimension, ArrayType );
154 itkGetConstReferenceMacro( CloseDimension, ArrayType );
160 itkGetConstMacro( Spacing, SpacingType );
167 itkGetConstMacro( Origin, OriginType );
174 itkGetConstMacro( Size, SizeType );
185 itkSetMacro( BSplineEpsilon,
RealType );
186 itkGetConstMacro( BSplineEpsilon, RealType );
247 const
PointType &, const
unsigned int ) const;
255 const
IndexType &, const
unsigned int ) const;
271 const PointType &, const
unsigned int ) const;
275 virtual ~BSplineControlPointImageFunction() ITK_OVERRIDE;
276 void PrintSelf( std::ostream& os,
Indent indent ) const ITK_OVERRIDE;
279 ITK_DISALLOW_COPY_AND_ASSIGN(BSplineControlPointImageFunction);
283 SpacingType m_Spacing;
286 ArrayType m_NumberOfControlPoints;
287 ArrayType m_CloseDimension;
288 ArrayType m_SplineOrder;
303 #ifndef ITK_MANUAL_INSTANTIATION
304 #include "itkBSplineControlPointImageFunction.hxx"
Light weight base class for most itk classes.
InputImageType::PixelType PixelType
Superclass::PointType PointType
Represent the size (bounds) of a n-dimensional image.
BSplineKernelFunction< 3 > KernelOrder3Type
TInputImage InputImageType
A templated class holding a M x N size Matrix.
Superclass::ContinuousIndexType ContinuousIndexType
InputImageType::RegionType RegionType
SmartPointer< Self > Pointer
BSplineKernelFunction< 0 > KernelOrder0Type
RealImageType::Pointer RealImagePointer
BSpline kernel used for density estimation and nonparameteric regression.
InputImageType::RegionType InputImageRegionType
InputImageType::SpacingType SpacingType
Image< CoordRepType, ImageDimension > RealImageType
BSplineControlPointImageFunction Self
InputImageType::IndexType IndexType
BSpline kernel used for density estimation and nonparameteric regression.
ImageBaseType::PointType PointType
Evaluate a B-spline object given a grid of control points.
SmartPointer< const Self > ConstPointer
InputImageType::PointType OriginType
VariableSizeMatrix< CoordRepType > GradientType
ImageFunction< TInputImage, typename TInputImage::PixelType, TCoordRep > Superclass
TInputImage ControlPointLatticeType
FixedArray< unsigned, ImageDimension > ArrayType
Control indentation during Print() invocation.
InputImageType::SizeType SizeType
BSplineKernelFunction< 1 > KernelOrder1Type
ImageBaseType::SizeType SizeType
Evaluates a function of an image at specified position.
Templated n-dimensional image class.
VariableSizeMatrix< CoordRepType > HessianComponentType
BSplineKernelFunction< 2 > KernelOrder2Type
ImageBaseType::IndexType IndexType
CoxDeBoorBSplineKernelFunction< 3 > KernelType