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

#include <rtkSingularValueThresholdImageFilter.h>

+ Inheritance diagram for rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >:
+ Collaboration diagram for rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef InputImageType::Pointer InputImagePointer
 
typedef TInputImage InputImageType
 
typedef TInputImage::PixelType InputPixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef Superclass::OutputImageRegionType OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef TOutputImage::PixelType OutputPixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef TRealType RealType
 
typedef itk::Image< RealVectorType, TInputImage::ImageDimensionRealVectorImageType
 
typedef itk::Vector< TRealType, InputPixelType::DimensionRealVectorType
 
typedef SingularValueThresholdImageFilter Self
 
typedef itk::ImageToImageFilter< TInputImage, TOutputImage > Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
virtual TRealType GetThreshold ()
 
virtual void SetThreshold (TRealType _arg)
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = TOutputImage::ImageDimension
 
static const unsigned int VectorDimension = InputPixelType::Dimension
 

Protected Member Functions

const itk::ImageRegionSplitterBaseGetImageRegionSplitter (void) const override
 
 SingularValueThresholdImageFilter ()
 
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override
 
virtual ~SingularValueThresholdImageFilter () override
 

Protected Attributes

itk::ImageRegionSplitterDirection::Pointer m_Splitter
 

Private Member Functions

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

Private Attributes

TRealType m_Threshold
 

Detailed Description

template<typename TInputImage, typename TRealType = float, typename TOutputImage = TInputImage>
class rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >

Performs thresholding on the singular values.

The image is assumed to be of dimension N+1, and to contain itk::CovariantVector of length N. The last dimension is assumed to be the channel dimension (color, or time, or materials in spectral CT), of size L. The input image must contain the spatial gradient of each channel.

The filter walks the pixels of a single channel. For each of these pixels, it constructs a matrix by concatenating the gradient vectors of the L channels. The matrix is decomposed using SVD, its singular values are thresholded, and then reconstructed. The resulting matrix is then cut back into L gradient vectors, which are written in output.

Author
Cyril Mory

Definition at line 52 of file rtkSingularValueThresholdImageFilter.h.

Member Typedef Documentation

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef itk::SmartPointer< const Self > rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::ConstPointer

Definition at line 61 of file rtkSingularValueThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef InputImageType::Pointer rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::InputImagePointer

Definition at line 77 of file rtkSingularValueThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef TInputImage rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::InputImageType

Image typedef support

Definition at line 75 of file rtkSingularValueThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef TInputImage::PixelType rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::InputPixelType

Definition at line 72 of file rtkSingularValueThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef OutputImageType::Pointer rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::OutputImagePointer

Definition at line 78 of file rtkSingularValueThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef Superclass::OutputImageRegionType rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::OutputImageRegionType

Superclass typedefs.

Definition at line 94 of file rtkSingularValueThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef TOutputImage rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::OutputImageType

Definition at line 76 of file rtkSingularValueThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef TOutputImage::PixelType rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::OutputPixelType

Extract some information from the image types. Dimensionality of the two images is assumed to be the same.

Definition at line 67 of file rtkSingularValueThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef itk::SmartPointer< Self > rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::Pointer

Definition at line 60 of file rtkSingularValueThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef TRealType rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::RealType

Define the data type and the vector of data type used in calculations.

Definition at line 89 of file rtkSingularValueThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef itk::Image< RealVectorType, TInputImage::ImageDimension > rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::RealVectorImageType

Definition at line 91 of file rtkSingularValueThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef itk::Vector< TRealType, InputPixelType::Dimension > rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::RealVectorType

Definition at line 90 of file rtkSingularValueThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef SingularValueThresholdImageFilter rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::Self

Standard class typedefs.

Definition at line 58 of file rtkSingularValueThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
typedef itk::ImageToImageFilter< TInputImage, TOutputImage > rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::Superclass

Definition at line 59 of file rtkSingularValueThresholdImageFilter.h.

Constructor & Destructor Documentation

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::SingularValueThresholdImageFilter ( )
protected
template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
virtual rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::~SingularValueThresholdImageFilter ( )
inlineoverrideprotectedvirtual

Definition at line 111 of file rtkSingularValueThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::SingularValueThresholdImageFilter ( const Self )
private

Member Function Documentation

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
virtual::itk::LightObject::Pointer rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::CreateAnother ( ) const
template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
const itk::ImageRegionSplitterBase* rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::GetImageRegionSplitter ( void  ) const
overrideprotected

Splits the OutputRequestedRegion along the first direction, not the last

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
virtual const char* rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods)

Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
virtual TRealType rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::GetThreshold ( )
virtual

Begin concept checking End concept checking

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
static Pointer rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::New ( )
static

Method for creation through the object factory.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
void rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::operator= ( const Self )
private
template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
virtual void rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::SetThreshold ( TRealType  _arg)
virtual
template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
void rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::ThreadedGenerateData ( const OutputImageRegionType outputRegionForThread,
itk::ThreadIdType  threadId 
)
overrideprotected

Member Data Documentation

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
const unsigned int rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::ImageDimension = TOutputImage::ImageDimension
static

The dimensionality of the input and output images.

Definition at line 82 of file rtkSingularValueThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
itk::ImageRegionSplitterDirection::Pointer rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::m_Splitter
protected

Definition at line 118 of file rtkSingularValueThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
TRealType rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::m_Threshold
private

Definition at line 121 of file rtkSingularValueThresholdImageFilter.h.

template<typename TInputImage , typename TRealType = float, typename TOutputImage = TInputImage>
const unsigned int rtk::SingularValueThresholdImageFilter< TInputImage, TRealType, TOutputImage >::VectorDimension = InputPixelType::Dimension
static

Length of the vector pixel type of the input image.

Definition at line 86 of file rtkSingularValueThresholdImageFilter.h.


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