RTK  1.4.0
Reconstruction Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision > Class Template Reference

#include <rtkScatterGlareCorrectionImageFilter.h>

+ Inheritance diagram for rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >:
+ Collaboration diagram for rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >:

Public Types

typedef std::vector< float > CoefficientVectorType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef FFTInputImageType::Pointer FFTInputImagePointer
 
typedef Superclass::FFTInputImageType FFTInputImageType
 
typedef FFTOutputImageType::Pointer FFTOutputImagePointer
 
typedef Superclass::FFTOutputImageType FFTOutputImageType
 
typedef TFFTPrecision FFTPrecisionType
 
typedef InputImageType::IndexType IndexType
 
typedef TInputImage InputImageType
 
typedef TOutputImage OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ScatterGlareCorrectionImageFilter Self
 
typedef InputImageType::SizeType SizeType
 
typedef rtk::FFTProjectionsConvolutionImageFilter< TInputImage, TOutputImage, TFFTPrecision > Superclass
 
- Public Types inherited from rtk::FFTProjectionsConvolutionImageFilter< TInputImage, TOutputImage, TFFTPrecision >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef FFTInputImageType::Pointer FFTInputImagePointer
 
typedef itk::Image< TFFTPrecision, TInputImage::ImageDimensionFFTInputImageType
 
typedef FFTOutputImageType::Pointer FFTOutputImagePointer
 
typedef itk::Image< std::complex< TFFTPrecision >, TInputImage::ImageDimensionFFTOutputImageType
 
typedef InputImageType::IndexType IndexType
 
typedef TInputImage InputImageType
 
typedef TOutputImage OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef InputImageType::RegionType RegionType
 
typedef FFTProjectionsConvolutionImageFilter Self
 
typedef InputImageType::SizeType SizeType
 
typedef itk::ImageToImageFilter< TInputImage, TOutputImage > Superclass
 
typedef itk::Vector< int, 2 > ZeroPadFactorsType
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual CoefficientVectorType GetCoefficients () const
 
virtual const char * GetNameOfClass () const
 
virtual void SetCoefficients (const CoefficientVectorType coefficients)
 
- Public Member Functions inherited from rtk::FFTProjectionsConvolutionImageFilter< TInputImage, TOutputImage, TFFTPrecision >
virtual int GetGreatestPrimeFactor () const
 
virtual void SetGreatestPrimeFactor (int _arg)
 
virtual double GetTruncationCorrection () const
 
virtual void SetTruncationCorrection (double _arg)
 
virtual ZeroPadFactorsType GetZeroPadFactors () const
 
virtual void SetZeroPadFactors (ZeroPadFactorsType _arg)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 ScatterGlareCorrectionImageFilter ()
 
void UpdateFFTProjectionsConvolutionKernel (const SizeType size) override
 
virtual ~ScatterGlareCorrectionImageFilter () override
 
- Protected Member Functions inherited from rtk::FFTProjectionsConvolutionImageFilter< TInputImage, TOutputImage, TFFTPrecision >
void AfterThreadedGenerateData () override
 
void BeforeThreadedGenerateData () override
 
 FFTProjectionsConvolutionImageFilter ()
 
void GenerateInputRequestedRegion () override
 
int GreatestPrimeFactor (int n) const
 
bool IsPrime (int n) const
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
void ThreadedGenerateData (const RegionType &outputRegionForThread, ThreadIdType threadId) override
 
virtual void UpdateTruncationMirrorWeights ()
 
virtual ~FFTProjectionsConvolutionImageFilter () override
 
virtual FFTInputImagePointer PadInputImageRegion (const RegionType &inputRegion)
 
RegionType GetPaddedImageRegion (const RegionType &inputRegion)
 

Private Member Functions

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

Private Attributes

CoefficientVectorType m_Coefficients
 
CoefficientVectorType m_PreviousCoefficients
 

Additional Inherited Members

- Static Public Attributes inherited from rtk::FFTProjectionsConvolutionImageFilter< TInputImage, TOutputImage, TFFTPrecision >
static const unsigned int ImageDimension = TOutputImage::ImageDimension
 
- Protected Attributes inherited from rtk::FFTProjectionsConvolutionImageFilter< TInputImage, TOutputImage, TFFTPrecision >
int m_KernelDimension
 
FFTOutputImagePointer m_KernelFFT
 
std::vector< TFFTPrecision > m_TruncationMirrorWeights
 

Detailed Description

template<class TInputImage, class TOutputImage = TInputImage, class TFFTPrecision = double>
class rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >

Implements the scatter glare correction as described in [Poludniowski, PMB 2011].

The filter code is based on FFTConvolutionImageFilter by Gaetan Lehmann (see http://hdl.handle.net/10380/3154)

Test:
rtkscatterglaretest.cxx
Author
Sebastien Brousmiche

Definition at line 42 of file rtkScatterGlareCorrectionImageFilter.h.

Member Typedef Documentation

template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
typedef std::vector<float> rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::CoefficientVectorType

Definition at line 66 of file rtkScatterGlareCorrectionImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
typedef itk::SmartPointer<const Self> rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::ConstPointer

Definition at line 52 of file rtkScatterGlareCorrectionImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
typedef FFTInputImageType::Pointer rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::FFTInputImagePointer

Definition at line 62 of file rtkScatterGlareCorrectionImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
typedef Superclass::FFTInputImageType rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::FFTInputImageType

Definition at line 61 of file rtkScatterGlareCorrectionImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
typedef FFTOutputImageType::Pointer rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::FFTOutputImagePointer

Definition at line 64 of file rtkScatterGlareCorrectionImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
typedef Superclass::FFTOutputImageType rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::FFTOutputImageType

Definition at line 63 of file rtkScatterGlareCorrectionImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
typedef TFFTPrecision rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::FFTPrecisionType

Definition at line 57 of file rtkScatterGlareCorrectionImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
typedef InputImageType::IndexType rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::IndexType

Definition at line 58 of file rtkScatterGlareCorrectionImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
typedef TInputImage rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::InputImageType

Some convenient typedefs.

Definition at line 55 of file rtkScatterGlareCorrectionImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
typedef TOutputImage rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::OutputImageType

Definition at line 56 of file rtkScatterGlareCorrectionImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
typedef itk::SmartPointer<Self> rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::Pointer

Definition at line 51 of file rtkScatterGlareCorrectionImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
typedef ScatterGlareCorrectionImageFilter rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::Self

Standard class typedefs.

Definition at line 47 of file rtkScatterGlareCorrectionImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
typedef InputImageType::SizeType rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::SizeType

Definition at line 59 of file rtkScatterGlareCorrectionImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
typedef rtk::FFTProjectionsConvolutionImageFilter< TInputImage, TOutputImage, TFFTPrecision> rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::Superclass

Definition at line 50 of file rtkScatterGlareCorrectionImageFilter.h.

Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::ScatterGlareCorrectionImageFilter ( )
protected
template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
virtual rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::~ScatterGlareCorrectionImageFilter ( )
inlineoverrideprotectedvirtual

Definition at line 86 of file rtkScatterGlareCorrectionImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::ScatterGlareCorrectionImageFilter ( const Self )
private

Member Function Documentation

template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
virtual::itk::LightObject::Pointer rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::CreateAnother ( ) const
template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
virtual CoefficientVectorType rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::GetCoefficients ( ) const
virtual
template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
virtual const char* rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::GetNameOfClass ( ) const
virtual
template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
static Pointer rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::New ( )
static

Standard New method.

template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
void rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::operator= ( const Self )
private
template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
virtual void rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::SetCoefficients ( const CoefficientVectorType  coefficients)
inlinevirtual

Definition at line 75 of file rtkScatterGlareCorrectionImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
void rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::UpdateFFTProjectionsConvolutionKernel ( const SizeType  size)
overrideprotectedvirtual

Member Data Documentation

template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
CoefficientVectorType rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::m_Coefficients
private

Definition at line 96 of file rtkScatterGlareCorrectionImageFilter.h.

template<class TInputImage , class TOutputImage = TInputImage, class TFFTPrecision = double>
CoefficientVectorType rtk::ScatterGlareCorrectionImageFilter< TInputImage, TOutputImage, TFFTPrecision >::m_PreviousCoefficients
private

Definition at line 97 of file rtkScatterGlareCorrectionImageFilter.h.


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