28#ifndef itkBSplineResampleImageFilterBase_h
29#define itkBSplineResampleImageFilterBase_h
82template <
typename TInputImage,
typename TOutputImage>
101 using typename Superclass::InputImageType;
104 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
116 using typename Superclass::OutputImagePixelType;
133 itkGetConstMacro(SplineOrder,
int);
157 unsigned int inTraverseSize,
168 unsigned int inTraverseSize,
180 std::vector<double> m_G{};
181 std::vector<double> m_H{};
198 std::vector<double> m_Scratch{};
203#ifndef ITK_MANUAL_INSTANTIATION
204# include "itkBSplineResampleImageFilterBase.hxx"
Uses the "l2" spline pyramid implementation of B-Spline Filters to up/down sample an image by a facto...
void CopyInputLineToScratch(ConstInputImageIterator &Iter)
void CopyLineToScratch(ConstInputImageIterator &Iter)
void ReduceNDImage(OutputImageIterator &outItr)
~BSplineResampleImageFilterBase() override=default
void SetSplineOrder(int splineOrder)
virtual void Reduce1DImage(const std::vector< double > &in, OutputImageIterator &out, unsigned int inTraverseSize, ProgressReporter &progress)
void InitializeScratch(SizeType DataLength)
BSplineResampleImageFilterBase()
typename TInputImage::RegionType RegionType
virtual void Expand1DImage(const std::vector< double > &in, OutputImageIterator &out, unsigned int inTraverseSize, ProgressReporter &progress)
void PrintSelf(std::ostream &os, Indent indent) const override
void CopyOutputLineToScratch(ConstOutputImageIterator &Iter)
typename TInputImage::SizeType SizeType
virtual void InitializePyramidSplineFilter(int SplineOrder)
typename TInputImage::IndexType IndexType
void ExpandNDImage(OutputImageIterator &outItr)
A multi-dimensional image iterator that visits image pixels within a region in a "scan-line" order.
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...
Implements progress tracking for a filter.
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....