#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 TCoefficientType | CoefficientDataType |
typedef itk::Image< CoefficientDataType, itkGetStaticConstMacro(ImageDimension) | CoefficientImageType ) |
typedef itk::BSplineDecompositionImageFilter< TImageType, CoefficientImageType > | 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) const |
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< CoefficientDataType > | m_Scratch |
TImageType::SizeType | m_DataLength |
unsigned int | m_SplineOrder |
CoefficientImageType::ConstPointer | 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 72 of file itkBSplineInterpolateImageFunction.h.
|
Internal Coefficient typedef support Definition at line 111 of file itkBSplineInterpolateImageFunction.h. |
|
Define filter for calculating the BSpline coefficients Definition at line 118 of file itkBSplineInterpolateImageFunction.h. |
|
Definition at line 119 of file itkBSplineInterpolateImageFunction.h. |
|
Definition at line 114 of file itkBSplineInterpolateImageFunction.h. |
|
Reimplemented from itk::InterpolateImageFunction< TImageType, TCoordRep >. Reimplemented in itk::BSplineResampleImageFunction< TImageType, TCoordRep >. Definition at line 80 of file itkBSplineInterpolateImageFunction.h. |
|
ContinuousIndex typedef support. Reimplemented from itk::InterpolateImageFunction< TImageType, TCoordRep >. Definition at line 102 of file itkBSplineInterpolateImageFunction.h. |
|
Derivative typedef support Definition at line 135 of file itkBSplineInterpolateImageFunction.h. |
|
Index typedef support. Reimplemented from itk::InterpolateImageFunction< TImageType, TCoordRep >. Definition at line 99 of file itkBSplineInterpolateImageFunction.h. |
|
InputImageType typedef support. Reimplemented from itk::InterpolateImageFunction< TImageType, TCoordRep >. Definition at line 93 of file itkBSplineInterpolateImageFunction.h. |
|
Iterator typedef support Definition at line 108 of file itkBSplineInterpolateImageFunction.h. |
|
OutputType typedef support. Reimplemented from itk::InterpolateImageFunction< TImageType, TCoordRep >. Definition at line 90 of file itkBSplineInterpolateImageFunction.h. |
|
Reimplemented from itk::InterpolateImageFunction< TImageType, TCoordRep >. Reimplemented in itk::BSplineResampleImageFunction< TImageType, TCoordRep >. Definition at line 79 of file itkBSplineInterpolateImageFunction.h. |
|
PointType typedef support Reimplemented from itk::InterpolateImageFunction< TImageType, TCoordRep >. Definition at line 105 of file itkBSplineInterpolateImageFunction.h. |
|
Standard class typedefs. Reimplemented from itk::InterpolateImageFunction< TImageType, TCoordRep >. Reimplemented in itk::BSplineResampleImageFunction< TImageType, TCoordRep >. Definition at line 77 of file itkBSplineInterpolateImageFunction.h. |
|
Reimplemented from itk::InterpolateImageFunction< TImageType, TCoordRep >. Reimplemented in itk::BSplineResampleImageFunction< TImageType, TCoordRep >. Definition at line 78 of file itkBSplineInterpolateImageFunction.h. |
|
|
|
Definition at line 160 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 137 of file itkBSplineInterpolateImageFunction.h. |
|
|
|
Run-time type information (and related methods). Reimplemented from itk::InterpolateImageFunction< TImageType, TCoordRep >. Reimplemented in itk::BSplineResampleImageFunction< 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. Reimplemented in itk::BSplineResampleImageFunction< TImageType, TCoordRep >. |
|
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 >. Reimplemented in itk::BSplineResampleImageFunction< TImageType, TCoordRep >. |
|
Set the input image. This must be set by the user. Reimplemented in itk::BSplineResampleImageFunction< TImageType, TCoordRep >. |
|
Get/Sets the Spline Order, supports 0th - 5th order splines. The default is a 3rd order spline. |
|
Definition at line 168 of file itkBSplineInterpolateImageFunction.h. |
|
Definition at line 165 of file itkBSplineInterpolateImageFunction.h. |
|
Definition at line 164 of file itkBSplineInterpolateImageFunction.h. |
|
Definition at line 166 of file itkBSplineInterpolateImageFunction.h. |