28#ifndef itkBSplineDecompositionImageFilter_h
29#define itkBSplineDecompositionImageFilter_h
34#include "vnl/vnl_matrix.h"
73template <
typename TInputImage,
typename TOutputImage>
92 using typename Superclass::InputImageType;
93 using typename Superclass::InputImagePointer;
94 using typename Superclass::InputImageConstPointer;
95 using typename Superclass::OutputImagePointer;
100 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
101 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
113 itkGetConstMacro(SplineOrder,
unsigned int);
119 itkGetConstMacro(NumberOfPoles,
unsigned int);
122#ifdef ITK_USE_CONCEPT_CHECKING
197 unsigned int m_SplineOrder{ 0 };
201 unsigned int m_NumberOfPoles{};
204 double m_Tolerance{ 1
e-10 };
207 unsigned int m_IteratorDirection{ 0 };
211#ifndef ITK_MANUAL_INSTANTIATION
212# include "itkBSplineDecompositionImageFilter.hxx"
Calculates the B-Spline coefficients of an image. Spline order may be from 0 to 5.
std::vector< double > SplinePolesVectorType
virtual void SetInitialAntiCausalCoefficient(double z)
void CopyScratchToCoefficients(OutputLinearIterator &)
virtual void SetInitialCausalCoefficient(double z)
void PrintSelf(std::ostream &os, Indent indent) const override
void GenerateData() override
void DataToCoefficientsND()
virtual bool DataToCoefficients1D()
void EnlargeOutputRequestedRegion(DataObject *output) override
std::vector< CoeffType > CoefficientsVectorType
typename itk::NumericTraits< typename TOutputImage::PixelType >::RealType CoeffType
~BSplineDecompositionImageFilter() override=default
void GenerateInputRequestedRegion() override
void CopyCoefficientsToScratch(OutputLinearIterator &)
void SetSplineOrder(unsigned int SplineOrder)
BSplineDecompositionImageFilter()
Base class for all data objects in ITK.
A multi-dimensional image iterator that visits image pixels within a region in a "scan-line" order.
Base class for all process objects that output image data.
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
#define itkConceptMacro(name, concept)
ImageBaseType::SizeType SizeType
static constexpr double e
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....