18 #ifndef itkBSplineScatteredDataPointSetToImageFilter_h
19 #define itkBSplineScatteredDataPointSetToImageFilter_h
27 #include "vnl/vnl_matrix.h"
128 template<
typename TInputPo
intSet,
typename TOutputImage >
143 TOutputImage::ImageDimension );
206 itkGetConstReferenceMacro( SplineOrder,
ArrayType );
213 itkSetMacro( NumberOfControlPoints,
ArrayType );
220 itkGetConstReferenceMacro( NumberOfControlPoints,
ArrayType );
227 itkGetConstReferenceMacro( CurrentNumberOfControlPoints,
ArrayType );
251 itkGetConstReferenceMacro( NumberOfLevels,
ArrayType );
269 itkSetMacro( CloseDimension,
ArrayType );
287 itkGetConstReferenceMacro( CloseDimension,
ArrayType );
344 void operator=( const Self & );
378 const
RealType, const
unsigned int );
428 #ifndef ITK_MANUAL_INSTANTIATION
429 #include "itkBSplineScatteredDataPointSetToImageFilter.hxx"
void GenerateOutputImage()
bool m_GenerateOutputImage
ArrayType m_CurrentNumberOfControlPoints
BSplineKernelFunction< 3 > KernelOrder3Type
void BeforeThreadedGenerateData() override
KernelOrder1Type::Pointer m_KernelOrder1
void CollapsePhiLattice(PointDataImageType *, PointDataImageType *, const RealType, const unsigned int)
Image< RealType, itkGetStaticConstMacro(ImageDimension)> RealImageType
void GenerateData() override
PointDataContainerType::Pointer m_InputPointData
void ThreadedGenerateDataForFitting(const RegionType &, ThreadIdType)
BSplineKernelFunction< 1 > KernelOrder1Type
TInputPointSet PointSetType
PointSetType::PixelType PointDataType
void SetPhiLatticeParametricDomainParameters()
KernelOrder3Type::Pointer m_KernelOrder3
CoxDeBoorBSplineKernelFunction< 3 > KernelType
void RefineControlPointLattice()
PointDataImagePointer GetPhiLattice()
PointDataImageType::Pointer PointDataImagePointer
void AfterThreadedGenerateData() override
PointDataImageType::Pointer m_PsiLattice
void PrintSelf(std::ostream &os, Indent indent) const override
ArrayType m_NumberOfControlPoints
ArrayType m_CloseDimension
vnl_matrix< RealType > m_RefinedLatticeCoefficients[ImageDimension]
unsigned int m_CurrentLevel
Base class for all process objects that output image data.
PointDataContainerType::Pointer m_OutputPointData
void SetNumberOfLevels(unsigned int)
SmartPointer< Self > Pointer
ImageType::SizeType SizeType
BSplineKernelFunction< 0 > KernelOrder0Type
Simulate a standard C array with copy semnatics.
VectorContainer< unsigned, RealType > WeightsContainerType
BSpline kernel used for density estimation and nonparameteric regression.
ImageType::PixelType PixelType
PointSetType::Pointer PointSetPointer
void ThreadedGenerateData(const RegionType &, ThreadIdType) override
void SetSplineOrder(unsigned int)
ImageType::RegionType RegionType
IndexType NumberToIndex(const unsigned int, const SizeType)
KernelOrder0Type::Pointer m_KernelOrder0
std::vector< PointDataImagePointer > m_DeltaLatticePerThread
PointDataImageType::Pointer m_PhiLattice
BSplineKernelFunction< 2 > KernelOrder2Type
Image< PointDataType, itkGetStaticConstMacro(ImageDimension)> PointDataImageType
BSpline kernel used for density estimation and nonparameteric regression.
ImageType::IndexType IndexType
virtual ~BSplineScatteredDataPointSetToImageFilter()
SmartPointer< const Self > ConstPointer
RealImageType::Pointer RealImagePointer
FixedArray< unsigned, itkGetStaticConstMacro(ImageDimension)> ArrayType
unsigned int m_MaximumNumberOfLevels
PointSetType::PointType PointType
KernelType::Pointer m_Kernel[ImageDimension]
unsigned int SplitRequestedRegion(unsigned int, unsigned int, RegionType &) override
KernelOrder2Type::Pointer m_KernelOrder2
Image filter which provides a B-spline output approximation.
unsigned int ThreadIdType
void ThreadedGenerateDataForReconstruction(const RegionType &, ThreadIdType)
BSplineScatteredDataPointSetToImageFilter()
Base class for filters that take a PointSet as input and produce an image as output. By default, if the user does not specify the size of the output image, the maximum size of the point-set's bounding box is used.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
ArrayType m_NumberOfLevels
Control indentation during Print() invocation.
void SetPointWeights(WeightsContainerType *weights)
std::vector< RealImagePointer > m_OmegaLatticePerThread
WeightsContainerType::Pointer m_PointWeights
BSplineScatteredDataPointSetToImageFilter Self
static const unsigned int ImageDimension
PointSetToImageFilter< TInputPointSet, TOutputImage > Superclass
PointSetType::PointDataContainer PointDataContainerType
Templated n-dimensional image class.
RealType m_BSplineEpsilon
DataObject * GetOutput(const DataObjectIdentifierType &key)