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

#include <rtkReconstructImageFilter.h>

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

Public Types

typedef itk::NaryAddImageFilter< InputImageType, InputImageTypeAddFilterType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef rtk::DaubechiesWaveletsConvolutionImageFilter< InputImageTypeConvolutionFilterType
 
typedef Superclass::InputImageConstPointer InputImageConstPointer
 
typedef Superclass::InputImagePointer InputImagePointer
 
typedef Superclass::InputImageType InputImageType
 
typedef TImage::InternalPixelType InternalPixelType
 
typedef Superclass::OutputImagePointer OutputImagePointer
 
typedef Superclass::OutputImageType OutputImageType
 
typedef TImage::PixelType PixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ReconstructImageFilter Self
 
typedef itk::ImageToImageFilter< TImage, TImage > Superclass
 
typedef rtk::UpsampleImageFilter< InputImageTypeUpsampleImageFilterType
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
void GenerateInputRequestedRegion () override
 
void GenerateOutputInformation () override
 
virtual const char * GetNameOfClass () const
 
virtual unsigned int GetNumberOfLevels ()
 
virtual unsigned int GetOrder ()
 
void SetIndices (typename InputImageType::IndexType *indicesVector)
 
virtual void SetOrder (unsigned int _arg)
 
void SetSizes (typename InputImageType::SizeType *sizesVector)
 
virtual void SetNumberOfLevels (unsigned int levels)
 
void VerifyInputInformation () override
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = TImage::ImageDimension
 

Protected Member Functions

virtual unsigned int CalculateNumberOfInputs ()
 
void GenerateData () override
 
void GeneratePassVectors ()
 
void ModifyInputOutputStorage ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ReconstructImageFilter ()
 
virtual ~ReconstructImageFilter () override
 

Private Member Functions

void operator= (const Self &)
 
 ReconstructImageFilter (const Self &)
 

Private Attributes

std::vector< typename AddFilterType::Pointerm_AddFilters
 
std::vector< typename ConvolutionFilterType::Pointerm_ConvolutionFilters
 
InputImageType::IndexTypem_Indices
 
unsigned int m_NumberOfLevels
 
unsigned int m_Order
 
std::vector< typename ConvolutionFilterType::PassVectorm_PassVectors
 
bool m_PipelineConstructed
 
InputImageType::SizeTypem_Sizes
 
std::vector< typename UpsampleImageFilterType::Pointerm_UpsampleFilters
 

Detailed Description

template<class TImage>
class rtk::ReconstructImageFilter< TImage >

An image filter that reconstructs an image using Daubechies wavelets.

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

dot_inline_dotgraph_24.png
Test:
rtkwaveletstest.cxx
Author
Cyril Mory

Definition at line 114 of file rtkReconstructImageFilter.h.

Member Typedef Documentation

Typedefs for pipeline's subfilters

Definition at line 144 of file rtkReconstructImageFilter.h.

template<class TImage >
typedef itk::SmartPointer<const Self> rtk::ReconstructImageFilter< TImage >::ConstPointer

Definition at line 123 of file rtkReconstructImageFilter.h.

Definition at line 145 of file rtkReconstructImageFilter.h.

template<class TImage >
typedef Superclass::InputImageConstPointer rtk::ReconstructImageFilter< TImage >::InputImageConstPointer

Definition at line 139 of file rtkReconstructImageFilter.h.

template<class TImage >
typedef Superclass::InputImagePointer rtk::ReconstructImageFilter< TImage >::InputImagePointer

Definition at line 137 of file rtkReconstructImageFilter.h.

template<class TImage >
typedef Superclass::InputImageType rtk::ReconstructImageFilter< TImage >::InputImageType

Inherit types from Superclass.

Definition at line 135 of file rtkReconstructImageFilter.h.

template<class TImage >
typedef TImage::InternalPixelType rtk::ReconstructImageFilter< TImage >::InternalPixelType

Definition at line 141 of file rtkReconstructImageFilter.h.

template<class TImage >
typedef Superclass::OutputImagePointer rtk::ReconstructImageFilter< TImage >::OutputImagePointer

Definition at line 138 of file rtkReconstructImageFilter.h.

template<class TImage >
typedef Superclass::OutputImageType rtk::ReconstructImageFilter< TImage >::OutputImageType

Definition at line 136 of file rtkReconstructImageFilter.h.

template<class TImage >
typedef TImage::PixelType rtk::ReconstructImageFilter< TImage >::PixelType

Definition at line 140 of file rtkReconstructImageFilter.h.

template<class TImage >
typedef itk::SmartPointer<Self> rtk::ReconstructImageFilter< TImage >::Pointer

Definition at line 122 of file rtkReconstructImageFilter.h.

template<class TImage >
typedef ReconstructImageFilter rtk::ReconstructImageFilter< TImage >::Self

Standard class typedefs.

Definition at line 120 of file rtkReconstructImageFilter.h.

template<class TImage >
typedef itk::ImageToImageFilter<TImage,TImage> rtk::ReconstructImageFilter< TImage >::Superclass

Definition at line 121 of file rtkReconstructImageFilter.h.

Definition at line 146 of file rtkReconstructImageFilter.h.

Constructor & Destructor Documentation

template<class TImage >
rtk::ReconstructImageFilter< TImage >::ReconstructImageFilter ( )
protected
template<class TImage >
virtual rtk::ReconstructImageFilter< TImage >::~ReconstructImageFilter ( )
inlineoverrideprotectedvirtual
template<class TImage >
rtk::ReconstructImageFilter< TImage >::ReconstructImageFilter ( const Self )
private

Member Function Documentation

template<class TImage >
virtual unsigned int rtk::ReconstructImageFilter< TImage >::CalculateNumberOfInputs ( )
protectedvirtual

Calculates the number of ProcessObject output images

Referenced by rtk::ReconstructImageFilter< TImage >::~ReconstructImageFilter().

template<class TImage >
virtual::itk::LightObject::Pointer rtk::ReconstructImageFilter< TImage >::CreateAnother ( ) const
template<class TImage >
void rtk::ReconstructImageFilter< TImage >::GenerateData ( )
overrideprotected
template<class TImage >
void rtk::ReconstructImageFilter< TImage >::GenerateInputRequestedRegion ( )
override

ReconstructImageFilter requests the largest possible region of all its inputs.

Referenced by rtk::ReconstructImageFilter< TImage >::GetNumberOfLevels().

template<class TImage >
void rtk::ReconstructImageFilter< TImage >::GenerateOutputInformation ( )
override

ReconstructImageFilter produces images which are of different size than the input image. As such, we reimplement GenerateOutputInformation() in order to inform the pipeline execution model.

Referenced by rtk::ReconstructImageFilter< TImage >::GetNumberOfLevels().

template<class TImage >
void rtk::ReconstructImageFilter< TImage >::GeneratePassVectors ( )
protected

Creates and sets the kernel sources to generate all kernels.

Referenced by rtk::ReconstructImageFilter< TImage >::~ReconstructImageFilter().

template<class TImage >
virtual const char* rtk::ReconstructImageFilter< TImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TImage >
virtual unsigned int rtk::ReconstructImageFilter< TImage >::GetNumberOfLevels ( )
inlinevirtual
template<class TImage >
virtual unsigned int rtk::ReconstructImageFilter< TImage >::GetOrder ( )
virtual

Get/Set the order of the wavelet filters

template<class TImage >
void rtk::ReconstructImageFilter< TImage >::ModifyInputOutputStorage ( )
protected

Modifies the storage for Input and Output images. Should be called after changes to levels, bands, Reconstruct, reconstruct, etc...

Referenced by rtk::ReconstructImageFilter< TImage >::SetNumberOfLevels(), and rtk::ReconstructImageFilter< TImage >::~ReconstructImageFilter().

template<class TImage >
static Pointer rtk::ReconstructImageFilter< TImage >::New ( )
static

Method for creation through the object factory.

template<class TImage >
void rtk::ReconstructImageFilter< TImage >::operator= ( const Self )
private
template<class TImage >
void rtk::ReconstructImageFilter< TImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotected
template<class TImage >
void rtk::ReconstructImageFilter< TImage >::SetIndices ( typename InputImageType::IndexType indicesVector)
inline
template<class TImage >
virtual void rtk::ReconstructImageFilter< TImage >::SetNumberOfLevels ( unsigned int  levels)
inlinevirtual
template<class TImage >
virtual void rtk::ReconstructImageFilter< TImage >::SetOrder ( unsigned int  _arg)
virtual
template<class TImage >
void rtk::ReconstructImageFilter< TImage >::SetSizes ( typename InputImageType::SizeType sizesVector)
inline
template<class TImage >
void rtk::ReconstructImageFilter< TImage >::VerifyInputInformation ( )
inlineoverride

ReconstructImageFilter uses input images of different sizes, therefore the VerifyInputInformation method has to be reimplemented.

Definition at line 178 of file rtkReconstructImageFilter.h.

Member Data Documentation

template<class TImage >
const unsigned int rtk::ReconstructImageFilter< TImage >::ImageDimension = TImage::ImageDimension
static

ImageDimension enumeration.

Definition at line 132 of file rtkReconstructImageFilter.h.

template<class TImage >
std::vector<typename AddFilterType::Pointer> rtk::ReconstructImageFilter< TImage >::m_AddFilters
private

Definition at line 231 of file rtkReconstructImageFilter.h.

template<class TImage >
std::vector<typename ConvolutionFilterType::Pointer> rtk::ReconstructImageFilter< TImage >::m_ConvolutionFilters
private

Definition at line 232 of file rtkReconstructImageFilter.h.

template<class TImage >
InputImageType::IndexType* rtk::ReconstructImageFilter< TImage >::m_Indices
private
template<class TImage >
unsigned int rtk::ReconstructImageFilter< TImage >::m_NumberOfLevels
private
template<class TImage >
unsigned int rtk::ReconstructImageFilter< TImage >::m_Order
private

Definition at line 226 of file rtkReconstructImageFilter.h.

template<class TImage >
std::vector<typename ConvolutionFilterType::PassVector> rtk::ReconstructImageFilter< TImage >::m_PassVectors
private

Definition at line 235 of file rtkReconstructImageFilter.h.

template<class TImage >
bool rtk::ReconstructImageFilter< TImage >::m_PipelineConstructed
private

Definition at line 227 of file rtkReconstructImageFilter.h.

template<class TImage >
InputImageType::SizeType* rtk::ReconstructImageFilter< TImage >::m_Sizes
private
template<class TImage >
std::vector<typename UpsampleImageFilterType::Pointer> rtk::ReconstructImageFilter< TImage >::m_UpsampleFilters
private

Definition at line 233 of file rtkReconstructImageFilter.h.


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