OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | List of all members
otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage > Class Template Reference

#include <otbBSplineDecompositionImageFilter.h>

+ Inheritance diagram for otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass::InputImageConstPointer InputImageConstPointer
 
typedef Superclass::InputImagePointer InputImagePointer
 
typedef Superclass::InputImageType InputImageType
 
typedef Superclass::OutputImagePointer OutputImagePointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef BSplineDecompositionImageFilter Self
 
typedef itk::ImageToImageFilter< TInputImage, TOutputImage > Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 

Static Public Member Functions

static Pointer New ()
 
typedef itk::ImageLinearIteratorWithIndex< TOutputImage > OutputLinearIterator
 
static const unsigned int ImageDimension = TInputImage::ImageDimension
 
static const unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
std::vector< double > m_Scratch
 
TInputImage::SizeType m_DataLength
 
unsigned int m_SplineOrder
 
double m_SplinePoles [3]
 
int m_NumberOfPoles
 
double m_Tolerance
 
unsigned int m_IteratorDirection
 
void SetSplineOrder (unsigned int SplineOrder)
 
virtual int GetSplineOrder ()
 
 BSplineDecompositionImageFilter ()
 
 ~BSplineDecompositionImageFilter () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
void GenerateData () override
 
 BSplineDecompositionImageFilter (const Self &)=delete
 
void operator= (const Self &)=delete
 
virtual void SetPoles ()
 
virtual bool DataToCoefficients1D ()
 
void DataToCoefficientsND ()
 
virtual void SetInitialCausalCoefficient (double z)
 
virtual void SetInitialAntiCausalCoefficient (double z)
 
void CopyImageToImage ()
 
void CopyCoefficientsToScratch (OutputLinearIterator &)
 
void CopyScratchToCoefficients (OutputLinearIterator &)
 

Detailed Description

template<class TInputImage, class TOutputImage>
class otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >

This class is an evolution of the itk::BSplineDecompositionImageFilter to handle huge images with this interpolator. For more documentation, please refer to the original class.

See also
itk::BSplineDecompositionImageFilter

Definition at line 43 of file otbBSplineDecompositionImageFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<class TInputImage , class TOutputImage >
typedef itk::SmartPointer<const Self> otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::ConstPointer

Definition at line 50 of file otbBSplineDecompositionImageFilter.h.

◆ InputImageConstPointer

template<class TInputImage , class TOutputImage >
typedef Superclass::InputImageConstPointer otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::InputImageConstPointer

Definition at line 61 of file otbBSplineDecompositionImageFilter.h.

◆ InputImagePointer

template<class TInputImage , class TOutputImage >
typedef Superclass::InputImagePointer otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::InputImagePointer

Definition at line 60 of file otbBSplineDecompositionImageFilter.h.

◆ InputImageType

template<class TInputImage , class TOutputImage >
typedef Superclass::InputImageType otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::InputImageType

Inherit input and output image types from Superclass.

Definition at line 56 of file otbBSplineDecompositionImageFilter.h.

◆ OutputImagePointer

template<class TInputImage , class TOutputImage >
typedef Superclass::OutputImagePointer otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::OutputImagePointer

Definition at line 62 of file otbBSplineDecompositionImageFilter.h.

◆ OutputLinearIterator

template<class TInputImage , class TOutputImage >
typedef itk::ImageLinearIteratorWithIndex<TOutputImage> otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::OutputLinearIterator

Iterator typedef support

Definition at line 70 of file otbBSplineDecompositionImageFilter.h.

◆ Pointer

template<class TInputImage , class TOutputImage >
typedef itk::SmartPointer<Self> otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::Pointer

Definition at line 49 of file otbBSplineDecompositionImageFilter.h.

◆ Self

template<class TInputImage , class TOutputImage >
typedef BSplineDecompositionImageFilter otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::Self

Standard class typedefs.

Definition at line 47 of file otbBSplineDecompositionImageFilter.h.

◆ Superclass

template<class TInputImage , class TOutputImage >
typedef itk::ImageToImageFilter<TInputImage, TOutputImage> otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::Superclass

Definition at line 48 of file otbBSplineDecompositionImageFilter.h.

Constructor & Destructor Documentation

◆ BSplineDecompositionImageFilter() [1/2]

template<class TInputImage , class TOutputImage >
otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::BSplineDecompositionImageFilter
protected

Constructor

Definition at line 36 of file otbBSplineDecompositionImageFilter.hxx.

◆ ~BSplineDecompositionImageFilter()

template<class TInputImage , class TOutputImage >
otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::~BSplineDecompositionImageFilter ( )
inlineoverrideprotected

Iterator typedef support

Definition at line 80 of file otbBSplineDecompositionImageFilter.h.

◆ BSplineDecompositionImageFilter() [2/2]

template<class TInputImage , class TOutputImage >
otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::BSplineDecompositionImageFilter ( const Self )
privatedelete

Iterator typedef support

Member Function Documentation

◆ CopyCoefficientsToScratch()

template<class TInputImage , class TOutputImage >
void otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::CopyCoefficientsToScratch ( OutputLinearIterator Iter)
private

Copies a vector of data from the Coefficients image to the m_Scratch vector.

Copy one line of the output image to the scratch

Definition at line 301 of file otbBSplineDecompositionImageFilter.hxx.

◆ CopyImageToImage()

template<class TInputImage , class TOutputImage >
void otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::CopyImageToImage
private

Used to initialize the Coefficients image before calculation.

Copy the input image into the output image

Definition at line 259 of file otbBSplineDecompositionImageFilter.hxx.

◆ CopyScratchToCoefficients()

template<class TInputImage , class TOutputImage >
void otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::CopyScratchToCoefficients ( OutputLinearIterator Iter)
private

Copies a vector of data from m_Scratch to the Coefficients image.

Copy the scratch to one line of the output image

Definition at line 284 of file otbBSplineDecompositionImageFilter.hxx.

◆ CreateAnother()

template<class TInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::CreateAnother ( void  ) const

◆ DataToCoefficients1D()

template<class TInputImage , class TOutputImage >
bool otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::DataToCoefficients1D
privatevirtual

Converts a vector of data to a vector of Spline coefficients.

Definition at line 58 of file otbBSplineDecompositionImageFilter.hxx.

◆ DataToCoefficientsND()

template<class TInputImage , class TOutputImage >
void otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::DataToCoefficientsND
private

Converts an N-dimension image of data to an equivalent sized image of spline coefficients.

Definition at line 215 of file otbBSplineDecompositionImageFilter.hxx.

◆ GenerateData()

template<class TInputImage , class TOutputImage >
void otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::GenerateData
overrideprotected

Generate data

Definition at line 317 of file otbBSplineDecompositionImageFilter.hxx.

◆ GetNameOfClass()

template<class TInputImage , class TOutputImage >
virtual const char* otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

◆ GetSplineOrder()

template<class TInputImage , class TOutputImage >
virtual int otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::GetSplineOrder ( )
virtual

Iterator typedef support

◆ New()

template<class TInputImage , class TOutputImage >
static Pointer otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::New ( )
static

New macro for creation of through a Smart Pointer

◆ operator=()

template<class TInputImage , class TOutputImage >
void otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::operator= ( const Self )
privatedelete

Iterator typedef support

◆ PrintSelf()

template<class TInputImage , class TOutputImage >
void otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotected

Standard "PrintSelf" method

Definition at line 50 of file otbBSplineDecompositionImageFilter.hxx.

◆ SetInitialAntiCausalCoefficient()

template<class TInputImage , class TOutputImage >
void otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::SetInitialAntiCausalCoefficient ( double  z)
privatevirtual

Determines the first coefficient for the anti-causal filtering of the data.

Definition at line 205 of file otbBSplineDecompositionImageFilter.hxx.

◆ SetInitialCausalCoefficient()

template<class TInputImage , class TOutputImage >
void otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::SetInitialCausalCoefficient ( double  z)
privatevirtual

Determines the first coefficient for the causal filtering of the data.

Definition at line 161 of file otbBSplineDecompositionImageFilter.hxx.

◆ SetPoles()

template<class TInputImage , class TOutputImage >
void otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::SetPoles
privatevirtual

Determines the poles given the Spline Order.

Definition at line 119 of file otbBSplineDecompositionImageFilter.hxx.

◆ SetSplineOrder()

template<class TInputImage , class TOutputImage >
void otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::SetSplineOrder ( unsigned int  SplineOrder)

Get/Sets the Spline Order, supports 0th - 5th order splines. The default is a 3rd order spline.

Definition at line 107 of file otbBSplineDecompositionImageFilter.hxx.

Member Data Documentation

◆ ImageDimension

template<class TInputImage , class TOutputImage >
const unsigned int otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::ImageDimension = TInputImage::ImageDimension
static

Dimension underlying input image.

Definition at line 65 of file otbBSplineDecompositionImageFilter.h.

◆ m_DataLength

template<class TInputImage , class TOutputImage >
TInputImage::SizeType otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::m_DataLength
protected

Iterator typedef support

Definition at line 89 of file otbBSplineDecompositionImageFilter.h.

◆ m_IteratorDirection

template<class TInputImage , class TOutputImage >
unsigned int otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::m_IteratorDirection
protected

Iterator typedef support

Definition at line 94 of file otbBSplineDecompositionImageFilter.h.

◆ m_NumberOfPoles

template<class TInputImage , class TOutputImage >
int otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::m_NumberOfPoles
protected

Iterator typedef support

Definition at line 92 of file otbBSplineDecompositionImageFilter.h.

◆ m_Scratch

template<class TInputImage , class TOutputImage >
std::vector<double> otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::m_Scratch
protected

These are needed by the smoothing spline routine.

Definition at line 88 of file otbBSplineDecompositionImageFilter.h.

◆ m_SplineOrder

template<class TInputImage , class TOutputImage >
unsigned int otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::m_SplineOrder
protected

Iterator typedef support

Definition at line 90 of file otbBSplineDecompositionImageFilter.h.

◆ m_SplinePoles

template<class TInputImage , class TOutputImage >
double otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::m_SplinePoles[3]
protected

Iterator typedef support

Definition at line 91 of file otbBSplineDecompositionImageFilter.h.

◆ m_Tolerance

template<class TInputImage , class TOutputImage >
double otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::m_Tolerance
protected

Iterator typedef support

Definition at line 93 of file otbBSplineDecompositionImageFilter.h.

◆ OutputImageDimension

template<class TInputImage , class TOutputImage >
const unsigned int otb::BSplineDecompositionImageFilter< TInputImage, TOutputImage >::OutputImageDimension = TOutputImage::ImageDimension
static

Iterator typedef support

Definition at line 66 of file otbBSplineDecompositionImageFilter.h.


The documentation for this class was generated from the following files: