RTK  2.0.1
Reconstruction Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Private Attributes | List of all members
rtk::DaubechiesWaveletsConvolutionImageFilter< TImage > Class Template Reference

#include <rtkDaubechiesWaveletsConvolutionImageFilter.h>

+ Inheritance diagram for rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >:
+ Collaboration diagram for rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >:

Public Types

using ConstPointer = itk::SmartPointer< const Self >
 
using ConvolutionFilterType = typename itk::ConvolutionImageFilter< TImage >
 
using OutputImagePixelType = typename TImage::PixelType
 
using OutputImageRegionType = typename TImage::RegionType
 
using OutputImageType = TImage
 
enum  Pass {
  Low = 0x0,
  High = 0x1
}
 
using PassVector = typename itk::Vector< typename Self::Pass, TImage::ImageDimension >
 
using Pointer = itk::SmartPointer< Self >
 
using Self = DaubechiesWaveletsConvolutionImageFilter
 
using Superclass = itk::ImageToImageFilter< TImage, TImage >
 
enum  Type {
  Deconstruct = 0x0,
  Reconstruct = 0x1
}
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
void PrintSelf (std::ostream &os, itk::Indent i) const override
 
void SetDeconstruction ()
 
void SetReconstruction ()
 
virtual void SetOrder (unsigned int _arg)
 
virtual unsigned int GetOrder () const
 
virtual void SetPass (PassVector _arg)
 
virtual PassVector GetPass ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Types

using CoefficientVector = std::vector< typename TImage::PixelType >
 

Protected Member Functions

 DaubechiesWaveletsConvolutionImageFilter ()
 
CoefficientVector GenerateCoefficients ()
 
void GenerateData () override
 
void GenerateOutputInformation () override
 
 ~DaubechiesWaveletsConvolutionImageFilter () override
 

Private Member Functions

CoefficientVector GenerateCoefficientsLowpassDeconstruct ()
 
CoefficientVector GenerateCoefficientsHighpassDeconstruct ()
 
CoefficientVector GenerateCoefficientsLowpassReconstruct ()
 
CoefficientVector GenerateCoefficientsHighpassReconstruct ()
 

Private Attributes

unsigned int m_Order {3}
 
PassVector m_Pass {PassVector(typename PassVector::ComponentType(0))}
 
Type m_Type
 

Detailed Description

template<typename TImage>
class rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >

Creates a Daubechies wavelets kernel image with the requested attributes (order, type, pass along each dimension)

This filter is inspired from Dan Mueller's GIFT package http://www.insight-journal.org/browse/publication/103

Author
Cyril Mory

Definition at line 44 of file rtkDaubechiesWaveletsConvolutionImageFilter.h.

Member Typedef Documentation

template<typename TImage >
using rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::CoefficientVector = std::vector<typename TImage::PixelType>
protected
template<typename TImage >
using rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::ConstPointer = itk::SmartPointer<const Self>
template<typename TImage >
using rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::ConvolutionFilterType = typename itk::ConvolutionImageFilter<TImage>

Typedef for the internal convolution filter

Definition at line 87 of file rtkDaubechiesWaveletsConvolutionImageFilter.h.

template<typename TImage >
using rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::OutputImagePixelType = typename TImage::PixelType

Typedef for the output image PixelType.

Definition at line 72 of file rtkDaubechiesWaveletsConvolutionImageFilter.h.

template<typename TImage >
using rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::OutputImageRegionType = typename TImage::RegionType

Typedef to describe the output image region type.

Definition at line 75 of file rtkDaubechiesWaveletsConvolutionImageFilter.h.

template<typename TImage >
using rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::OutputImageType = TImage

Typedef for the output image type.

Definition at line 69 of file rtkDaubechiesWaveletsConvolutionImageFilter.h.

template<typename TImage >
using rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::PassVector = typename itk::Vector<typename Self::Pass, TImage::ImageDimension>

Typedef for the "pass" vector (high pass or low pass along each dimension).

Definition at line 78 of file rtkDaubechiesWaveletsConvolutionImageFilter.h.

template<typename TImage >
using rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::Pointer = itk::SmartPointer<Self>

Standard class type alias.

Definition at line 63 of file rtkDaubechiesWaveletsConvolutionImageFilter.h.

template<typename TImage >
using rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::Superclass = itk::ImageToImageFilter<TImage, TImage>

Member Enumeration Documentation

template<typename TImage >
enum rtk::DaubechiesWaveletsConvolutionImageFilter::Pass
Enumerator
Low 
High 

Definition at line 49 of file rtkDaubechiesWaveletsConvolutionImageFilter.h.

template<typename TImage >
enum rtk::DaubechiesWaveletsConvolutionImageFilter::Type
Enumerator
Deconstruct 
Reconstruct 

Definition at line 55 of file rtkDaubechiesWaveletsConvolutionImageFilter.h.

Constructor & Destructor Documentation

template<typename TImage >
rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::~DaubechiesWaveletsConvolutionImageFilter ( )
overrideprotected

Member Function Documentation

template<typename TImage >
virtual::itk::LightObject::Pointer rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::CreateAnother ( ) const
virtual

Reimplemented from itk::Object.

template<typename TImage >
CoefficientVector rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::GenerateCoefficients ( )
protected

Calculates CoefficientsVector coefficients.

template<typename TImage >
CoefficientVector rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::GenerateCoefficientsHighpassDeconstruct ( )
private

Returns the wavelet coefficients for each type

template<typename TImage >
CoefficientVector rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::GenerateCoefficientsHighpassReconstruct ( )
private

Returns the wavelet coefficients for each type

template<typename TImage >
CoefficientVector rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::GenerateCoefficientsLowpassDeconstruct ( )
private

Returns the wavelet coefficients for each type

template<typename TImage >
CoefficientVector rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::GenerateCoefficientsLowpassReconstruct ( )
private

Returns the wavelet coefficients for each type

template<typename TImage >
void rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::GenerateData ( )
overrideprotectedvirtual

Does the real work

Reimplemented from itk::ImageSource< TOutputImage >.

template<typename TImage >
void rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::GenerateOutputInformation ( )
overrideprotectedvirtual

Defines the size, spacing, ... of the output kernel image

Reimplemented from itk::ProcessObject.

template<typename TImage >
virtual const char* rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageSource< TOutputImage >.

template<typename TImage >
virtual unsigned int rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::GetOrder ( ) const
virtual

Set and Get macro for the wavelet order

template<typename TImage >
virtual PassVector rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::GetPass ( )
virtual

Set and Get macro for the pass vector

template<typename TImage >
static Pointer rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::New ( )
static

Method for creation through the object factory.

template<typename TImage >
void rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::PrintSelf ( std::ostream &  os,
itk::Indent  i 
) const
overridevirtual

Prints some debugging information.

Reimplemented from itk::ImageSource< TOutputImage >.

template<typename TImage >
void rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::SetDeconstruction ( )

Sets the filter to return coefficients for low pass, deconstruct.

template<typename TImage >
virtual void rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::SetOrder ( unsigned int  _arg)
virtual

Set and Get macro for the wavelet order

template<typename TImage >
virtual void rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::SetPass ( PassVector  _arg)
virtual

Set and Get macro for the pass vector

template<typename TImage >
void rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::SetReconstruction ( )

Sets the filter to return coefficients for low pass, reconstruct.

Member Data Documentation

template<typename TImage >
unsigned int rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::m_Order {3}
private

Specifies the wavelet type name

Definition at line 133 of file rtkDaubechiesWaveletsConvolutionImageFilter.h.

template<typename TImage >
PassVector rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::m_Pass {PassVector(typename PassVector::ComponentType(0))}
private

Specifies the filter pass along each dimension

Definition at line 136 of file rtkDaubechiesWaveletsConvolutionImageFilter.h.

template<typename TImage >
Type rtk::DaubechiesWaveletsConvolutionImageFilter< TImage >::m_Type
private

Specifies the filter type

Definition at line 139 of file rtkDaubechiesWaveletsConvolutionImageFilter.h.


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