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

#include <rtkLookupTableImageFilter.h>

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

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef Functor::LUT< typename TInputImage::PixelType, typename TOutputImage::PixelType > FunctorType
 
typedef FunctorType::LookupTableType LookupTableType
 
typedef itk::SmartPointer< SelfPointer
 
typedef LookupTableImageFilter Self
 
typedef itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, FunctorTypeSuperclass
 

Public Member Functions

void BeforeThreadedGenerateData () override
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const LookupTableTypeGetLookupTable () const
 
virtual LookupTableTypeGetModifiableLookupTable ()
 
virtual const char * GetNameOfClass () const
 
virtual void SetLookupTable (LookupTableType *_arg)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 LookupTableImageFilter ()
 
virtual ~LookupTableImageFilter () override
 

Protected Attributes

LookupTableType::Pointer m_LookupTable
 

Private Member Functions

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

Detailed Description

template<class TInputImage, class TOutputImage>
class rtk::LookupTableImageFilter< TInputImage, TOutputImage >

Function to do the lookup operation.

Converts values of an input image using lookup table.

The lookup table is a 1D image. Two cases:

Author
Simon Rit

The lookup table is passed via a functor of type Functor::LUT. If the image is of type integer, it directly reads the corresponding value in the lookup table. If the lookup table is of type double or float, it uses the meta- information of the lookup table (origin and spacing) to locate a continuous index and interpolate at the corresponding location.

Author
Simon Rit

Definition at line 137 of file rtkLookupTableImageFilter.h.

Member Typedef Documentation

template<class TInputImage, class TOutputImage>
typedef itk::SmartPointer<const Self> rtk::LookupTableImageFilter< TInputImage, TOutputImage >::ConstPointer

Definition at line 153 of file rtkLookupTableImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef Functor::LUT< typename TInputImage::PixelType, typename TOutputImage::PixelType > rtk::LookupTableImageFilter< TInputImage, TOutputImage >::FunctorType

Lookup table type definition.

Definition at line 146 of file rtkLookupTableImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef FunctorType::LookupTableType rtk::LookupTableImageFilter< TInputImage, TOutputImage >::LookupTableType

Definition at line 147 of file rtkLookupTableImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef itk::SmartPointer<Self> rtk::LookupTableImageFilter< TInputImage, TOutputImage >::Pointer

Definition at line 152 of file rtkLookupTableImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef LookupTableImageFilter rtk::LookupTableImageFilter< TInputImage, TOutputImage >::Self

Standard class typedefs.

Definition at line 150 of file rtkLookupTableImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef itk::UnaryFunctorImageFilter<TInputImage, TOutputImage, FunctorType > rtk::LookupTableImageFilter< TInputImage, TOutputImage >::Superclass

Definition at line 151 of file rtkLookupTableImageFilter.h.

Constructor & Destructor Documentation

template<class TInputImage, class TOutputImage>
rtk::LookupTableImageFilter< TInputImage, TOutputImage >::LookupTableImageFilter ( )
inlineprotected

Definition at line 181 of file rtkLookupTableImageFilter.h.

template<class TInputImage, class TOutputImage>
virtual rtk::LookupTableImageFilter< TInputImage, TOutputImage >::~LookupTableImageFilter ( )
inlineoverrideprotectedvirtual

Definition at line 182 of file rtkLookupTableImageFilter.h.

template<class TInputImage, class TOutputImage>
rtk::LookupTableImageFilter< TInputImage, TOutputImage >::LookupTableImageFilter ( const Self )
private

Member Function Documentation

template<class TInputImage, class TOutputImage>
void rtk::LookupTableImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData ( )
override

Update the LUT before using it to process the data in case it is the result of a pipeline.

template<class TInputImage, class TOutputImage>
virtual::itk::LightObject::Pointer rtk::LookupTableImageFilter< TInputImage, TOutputImage >::CreateAnother ( ) const
template<class TInputImage, class TOutputImage>
virtual const LookupTableType* rtk::LookupTableImageFilter< TInputImage, TOutputImage >::GetLookupTable ( ) const
virtual
template<class TInputImage, class TOutputImage>
virtual LookupTableType* rtk::LookupTableImageFilter< TInputImage, TOutputImage >::GetModifiableLookupTable ( )
virtual

Get lookup table.

template<class TInputImage, class TOutputImage>
virtual const char* rtk::LookupTableImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const
virtual
template<class TInputImage, class TOutputImage>
static Pointer rtk::LookupTableImageFilter< TInputImage, TOutputImage >::New ( )
static

Method for creation through the object factory.

template<class TInputImage, class TOutputImage>
void rtk::LookupTableImageFilter< TInputImage, TOutputImage >::operator= ( const Self )
private
template<class TInputImage, class TOutputImage>
virtual void rtk::LookupTableImageFilter< TInputImage, TOutputImage >::SetLookupTable ( LookupTableType _arg)
inlinevirtual

Set lookup table.

Definition at line 162 of file rtkLookupTableImageFilter.h.

Member Data Documentation

template<class TInputImage, class TOutputImage>
LookupTableType::Pointer rtk::LookupTableImageFilter< TInputImage, TOutputImage >::m_LookupTable
protected

Definition at line 183 of file rtkLookupTableImageFilter.h.


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