Go to the documentation of this file.
38 #ifndef __itkReducedDimensionBSplineInterpolateImageFunction_h
39 #define __itkReducedDimensionBSplineInterpolateImageFunction_h
43 #include "itkImageLinearIteratorWithIndex.h"
44 #include "itkInterpolateImageFunction.h"
45 #include "vnl/vnl_matrix.h"
48 #include "itkConceptChecking.h"
49 #include "itkCovariantVector.h"
90 class TCoefficientType =
double >
92 public InterpolateImageFunction< TImageType, TCoordRep >
98 typedef InterpolateImageFunction< TImageType, TCoordRep >
Superclass;
127 typedef ImageLinearIteratorWithIndex< TImageType >
Iterator;
132 itkGetStaticConstMacro( ImageDimension )
154 itkGetStaticConstMacro( ImageDimension )
160 this->GetInputImage()->TransformPhysicalPointToContinuousIndex( point, index );
161 return ( this->EvaluateDerivativeAtContinuousIndex( index ) );
172 itkGetConstMacro( SplineOrder,
int );
189 itkSetMacro( UseImageDirection,
bool );
190 itkGetConstMacro( UseImageDirection,
bool );
191 itkBooleanMacro( UseImageDirection );
197 void PrintSelf( std::ostream & os, Indent indent )
const;
213 const vnl_matrix< long > & EvaluateIndex,
215 unsigned int splineOrder )
const;
219 const vnl_matrix< long > & EvaluateIndex,
221 unsigned int splineOrder )
const;
230 unsigned int splineOrder )
const;
235 unsigned int splineOrder )
const;
251 #ifndef ITK_MANUAL_INSTANTIATION
252 #include "itkReducedDimensionBSplineInterpolateImageFunction.hxx"
void PrintSelf(std::ostream &os, Indent indent) const
TImageType::SizeType m_DataLength
void SetDerivativeWeights(const ContinuousIndexType &x, const vnl_matrix< long > &EvaluateIndex, vnl_matrix< double > &weights, unsigned int splineOrder) const
TCoefficientType CoefficientDataType
virtual ~ReducedDimensionBSplineInterpolateImageFunction()
Superclass::OutputType OutputType
SmartPointer< const Self > ConstPointer
ReducedDimensionBSplineInterpolateImageFunction Self
InterpolateImageFunction< TImageType, TCoordRep > Superclass
Calculates the B-Spline coefficients of an image. Spline order may be per dimension from 0 to 5 per.
Evaluates the B-Spline interpolation of an image. Spline order may be from 0 to 5.
Superclass::InputImageType InputImageType
void GeneratePointsToIndex()
ReducedDimensionBSplineInterpolateImageFunction()
void SetSplineOrder(unsigned int SplineOrder)
ReducedDimensionBSplineInterpolateImageFunction(const Self &)
itkStaticConstMacro(ImageDimension, unsigned int, Superclass::ImageDimension)
MultiOrderBSplineDecompositionImageFilter< TImageType, CoefficientImageType > CoefficientFilter
CoefficientFilter::Pointer CoefficientFilterPointer
std::vector< IndexType > m_PointsToIndex
ImageLinearIteratorWithIndex< TImageType > Iterator
unsigned int m_SplineOrder
void ApplyMirrorBoundaryConditions(vnl_matrix< long > &evaluateIndex, unsigned int splineOrder) const
CovariantVectorType EvaluateDerivativeAtContinuousIndex(const ContinuousIndexType &x) const
Superclass::ContinuousIndexType ContinuousIndexType
Image< CoefficientDataType, itkGetStaticConstMacro(ImageDimension) > CoefficientImageType
void DetermineRegionOfSupport(vnl_matrix< long > &evaluateIndex, const ContinuousIndexType &x, unsigned int splineOrder) const
CoefficientImageType::ConstPointer m_Coefficients
CovariantVector< OutputType, itkGetStaticConstMacro(ImageDimension) > CovariantVectorType
CovariantVectorType EvaluateDerivative(const PointType &point) const
void SetInterpolationWeights(const ContinuousIndexType &x, const vnl_matrix< long > &EvaluateIndex, vnl_matrix< double > &weights, unsigned int splineOrder) const
std::vector< CoefficientDataType > m_Scratch
SmartPointer< Self > Pointer
virtual void SetInputImage(const TImageType *inputData)
CoefficientFilterPointer m_CoefficientFilter
Superclass::IndexType IndexType
unsigned long m_MaxNumberInterpolationPoints
Superclass::PointType PointType
void operator=(const Self &)
virtual OutputType EvaluateAtContinuousIndex(const ContinuousIndexType &index) const
Generated on OURCE_DATE_EPOCH for elastix by 1.8.18 |
|