ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkBSplineDecompositionImageFilter.h>
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > |
Protected Attributes | |
TInputImage::SizeType | m_DataLength |
unsigned int | m_IteratorDirection |
int | m_NumberOfPoles |
std::vector< CoeffType > | m_Scratch |
unsigned int | m_SplineOrder |
double | m_SplinePoles [3] |
double | m_Tolerance |
Private Member Functions | |
BSplineDecompositionImageFilter (const Self &) | |
void | CopyCoefficientsToScratch (OutputLinearIterator &) |
void | CopyImageToImage () |
void | CopyScratchToCoefficients (OutputLinearIterator &) |
virtual bool | DataToCoefficients1D () |
void | DataToCoefficientsND () |
void | operator= (const Self &) |
virtual void | SetInitialAntiCausalCoefficient (double z) |
virtual void | SetInitialCausalCoefficient (double z) |
virtual void | SetPoles () |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Calculates the B-Spline coefficients of an image. Spline order may be from 0 to 5.
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
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. Can only process LargestPossibleRegion
Definition at line 73 of file itkBSplineDecompositionImageFilter.h.
typedef itk::NumericTraits< typename TOutputImage::PixelType >::RealType itk::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::CoeffType |
Definition at line 95 of file itkBSplineDecompositionImageFilter.h.
typedef SmartPointer< const Self > itk::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::ConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 81 of file itkBSplineDecompositionImageFilter.h.
typedef Superclass::InputImageConstPointer itk::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::InputImageConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 92 of file itkBSplineDecompositionImageFilter.h.
typedef Superclass::InputImagePointer itk::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::InputImagePointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 91 of file itkBSplineDecompositionImageFilter.h.
typedef Superclass::InputImageType itk::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::InputImageType |
Inherit input and output image types from Superclass.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 87 of file itkBSplineDecompositionImageFilter.h.
typedef Superclass::OutputImagePointer itk::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::OutputImagePointer |
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 93 of file itkBSplineDecompositionImageFilter.h.
typedef ImageLinearIteratorWithIndex< TOutputImage > itk::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::OutputLinearIterator |
Iterator typedef support
Definition at line 104 of file itkBSplineDecompositionImageFilter.h.
typedef SmartPointer< Self > itk::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::Pointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 80 of file itkBSplineDecompositionImageFilter.h.
typedef BSplineDecompositionImageFilter itk::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 78 of file itkBSplineDecompositionImageFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::Superclass |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 79 of file itkBSplineDecompositionImageFilter.h.
|
protected |
End concept checking
|
inlineprotectedvirtual |
End concept checking
Definition at line 126 of file itkBSplineDecompositionImageFilter.h.
|
private |
|
private |
Copies a vector of data from the Coefficients image to the m_Scratch vector.
|
private |
Used to initialize the Coefficients image before calculation.
|
private |
Copies a vector of data from m_Scratch to the Coefficients image.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
privatevirtual |
Converts a vector of data to a vector of Spline coefficients.
|
private |
Converts an N-dimension image of data to an equivalent sized image of spline coefficients.
|
protectedvirtual |
This filter must produce all of its output at once.
Reimplemented from itk::ProcessObject.
|
protectedvirtual |
A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.
Reimplemented from itk::ImageSource< TOutputImage >.
|
protectedvirtual |
This filter requires all of the input image.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
|
static |
New macro for creation of through a Smart Pointer
Reimplemented from itk::Object.
|
private |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
protectedvirtual |
End concept checking
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
privatevirtual |
Determines the first coefficient for the anti-causal filtering of the data.
|
privatevirtual |
Determines the first coefficient for the causal filtering of the data.
|
privatevirtual |
Determines the poles given the Spline Order.
void itk::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::SetSplineOrder | ( | unsigned int | SplineOrder | ) |
Get/Sets the Spline Order, supports 0th - 5th order splines. The default is a 3rd order spline.
itk::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::SameDimension< ImageDimension, OutputImageDimension > | ) |
Begin concept checking This class requires DimensionCheck in the form of ( Concept::SameDimension< ImageDimension, OutputImageDimension > )
itk::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::Convertible< typename TInputImage::PixelType, typename TOutputImage::PixelType > | ) |
This class requires InputConvertibleToOutputCheck in the form of ( Concept::Convertible< typename TInputImage::PixelType, typename TOutputImage::PixelType > )
itk::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::Convertible< double, typename TOutputImage::PixelType > | ) |
This class requires DoubleConvertibleToOutputCheck in the form of ( Concept::Convertible< double, typename TOutputImage::PixelType > )
|
static |
Dimension underlying input image.
Definition at line 98 of file itkBSplineDecompositionImageFilter.h.
|
protected |
Definition at line 141 of file itkBSplineDecompositionImageFilter.h.
|
protected |
Definition at line 151 of file itkBSplineDecompositionImageFilter.h.
|
protected |
Definition at line 147 of file itkBSplineDecompositionImageFilter.h.
|
protected |
These are needed by the smoothing spline routine.
Definition at line 139 of file itkBSplineDecompositionImageFilter.h.
|
protected |
Definition at line 143 of file itkBSplineDecompositionImageFilter.h.
|
protected |
Definition at line 145 of file itkBSplineDecompositionImageFilter.h.
|
protected |
Definition at line 149 of file itkBSplineDecompositionImageFilter.h.
|
static |
Dimension underlying input image.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 100 of file itkBSplineDecompositionImageFilter.h.