#include <itkBSplineInterpolateImageFunction.h>
Inheritance diagram for itk::BSplineInterpolateImageFunction:
Public Types | |
typedef BSplineInterpolateImageFunction | Self |
typedef InterpolateImageFunction< TImageType, TCoordRep > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::OutputType | OutputType |
typedef Superclass::InputImageType | InputImageType |
typedef Superclass::IndexType | IndexType |
typedef Superclass::ContinuousIndexType | ContinuousIndexType |
typedef Superclass::PointType | PointType |
typedef itk::ImageLinearIteratorWithIndex< TImageType > | Iterator |
typedef itk::BSplineDecompositionImageFilter< TImageType, TImageType > | CoefficientFilter |
typedef CoefficientFilter::Pointer | CoefficientFilterPointer |
typedef CovariantVector< OutputType, itkGetStaticConstMacro(ImageDimension) | CovariantVectorType ) |
Public Methods | |
virtual const char * | GetClassName () const |
itkStaticConstMacro (ImageDimension, unsigned int, Superclass::ImageDimension) | |
virtual OutputType | EvaluateAtContinuousIndex (const ContinuousIndexType &index) const |
CovariantVectorType | EvaluateDerivative (const PointType &point) |
CovariantVectorType | EvaluateDerivativeAtContinuousIndex (const ContinuousIndexType &x) const |
virtual void | SetInputImage (const TImageType *inputData) |
void | SetSplineOrder (unsigned int SplineOrder) |
virtual int | GetSplineOrder () |
Static Public Methods | |
Pointer | New () |
Protected Methods | |
BSplineInterpolateImageFunction () | |
virtual | ~BSplineInterpolateImageFunction () |
void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Attributes | |
std::vector< double > | m_Scratch |
TImageType::SizeType | m_DataLength |
unsigned int | m_SplineOrder |
TImageType::Pointer | m_Coefficients |
This class defines N-Dimension B-Spline transformation. It is based on: [1] M. Unser, "Splines: A Perfect Fit for Signal and Image Processing," IEEE Signal Processing Magazine, vol. 16, no. 6, pp. 22-38, November 1999. [2] M. Unser, A. Aldroubi and M. Eden, "B-Spline Signal Processing: Part I--Theory," IEEE Transactions on Signal Processing, vol. 41, no. 2, pp. 821-832, February 1993. [3] M. Unser, A. Aldroubi and M. Eden, "B-Spline Signal Processing: Part II--Efficient Design and Applications," IEEE Transactions on Signal Processing, vol. 41, no. 2, pp. 834-848, February 1993. And code obtained from bigwww.epfl.ch by Philippe Thevenaz
The B spline coefficients are calculated through the BSplineDecompositionImageFilter
Limitations: Spline order must be between 0 and 5. Spline order must be set before setting the image. Uses mirror boundary conditions. Requires the same order of Spline for each dimension. Spline is determined in all dimensions, cannot selectively pick dimension for calculating spline.
Definition at line 68 of file itkBSplineInterpolateImageFunction.h.
|
Define filter for calculating the BSpline coefficients Definition at line 110 of file itkBSplineInterpolateImageFunction.h. |
|
Definition at line 111 of file itkBSplineInterpolateImageFunction.h. |
|
Reimplemented from itk::InterpolateImageFunction< TImageType, TCoordRep >. Definition at line 76 of file itkBSplineInterpolateImageFunction.h. |
|
ContinuousIndex typedef support. Reimplemented from itk::InterpolateImageFunction< TImageType, TCoordRep >. Definition at line 98 of file itkBSplineInterpolateImageFunction.h. |
|
Derivative typedef support Definition at line 126 of file itkBSplineInterpolateImageFunction.h. |
|
Index typedef support. Reimplemented from itk::InterpolateImageFunction< TImageType, TCoordRep >. Definition at line 95 of file itkBSplineInterpolateImageFunction.h. |
|
InputImageType typedef support. Reimplemented from itk::InterpolateImageFunction< TImageType, TCoordRep >. Definition at line 89 of file itkBSplineInterpolateImageFunction.h. |
|
Iterator typedef support Definition at line 104 of file itkBSplineInterpolateImageFunction.h. |
|
OutputType typedef support. Reimplemented from itk::InterpolateImageFunction< TImageType, TCoordRep >. Definition at line 86 of file itkBSplineInterpolateImageFunction.h. |
|
Reimplemented from itk::InterpolateImageFunction< TImageType, TCoordRep >. Definition at line 75 of file itkBSplineInterpolateImageFunction.h. |
|
PointType typedef support Reimplemented from itk::InterpolateImageFunction< TImageType, TCoordRep >. Definition at line 101 of file itkBSplineInterpolateImageFunction.h. |
|
Standard class typedefs. Reimplemented from itk::InterpolateImageFunction< TImageType, TCoordRep >. Definition at line 73 of file itkBSplineInterpolateImageFunction.h. |
|
Reimplemented from itk::InterpolateImageFunction< TImageType, TCoordRep >. Definition at line 74 of file itkBSplineInterpolateImageFunction.h. |
|
|
|
Definition at line 151 of file itkBSplineInterpolateImageFunction.h. |
|
Evaluate the function at a ContinuousIndex position. Returns the B-Spline interpolated image intensity at a specified point position. No bounds checking is done. The point is assume to lie within the image buffer. ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method. Implements itk::InterpolateImageFunction< TImageType, TCoordRep >. |
|
Definition at line 128 of file itkBSplineInterpolateImageFunction.h. |
|
|
|
Run-time type information (and related methods). Reimplemented from itk::InterpolateImageFunction< TImageType, TCoordRep >. |
|
Get/Sets the Spline Order, supports 0th - 5th order splines. The default is a 3rd order spline. |
|
Dimension underlying input image. Reimplemented from itk::InterpolateImageFunction< TImageType, TCoordRep >. |
|
New macro for creation of through a Smart Pointer Reimplemented from itk::Object. |
|
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from itk::InterpolateImageFunction< TImageType, TCoordRep >. |
|
Set the input image. This must be set by the user. |
|
Get/Sets the Spline Order, supports 0th - 5th order splines. The default is a 3rd order spline. |
|
Definition at line 159 of file itkBSplineInterpolateImageFunction.h. |
|
Definition at line 156 of file itkBSplineInterpolateImageFunction.h. |
|
Definition at line 155 of file itkBSplineInterpolateImageFunction.h. |
|
Definition at line 157 of file itkBSplineInterpolateImageFunction.h. |