RTK  2.5.0
Reconstruction Toolkit
Public Types | Public Member Functions | Private Attributes | List of all members
rtk::Functor::LUT< TInput, TOutput > Class Template Reference

#include <rtkLookupTableImageFilter.h>

+ Collaboration diagram for rtk::Functor::LUT< TInput, TOutput >:

Public Types

using InterpolatorPointer = typename InterpolatorType::Pointer
 
using InterpolatorType = typename itk::LinearInterpolateImageFunction< LookupTableType, double >
 
using LookupTableDataPointer = typename LookupTableType::PixelType *
 
using LookupTablePointer = typename LookupTableType::Pointer
 
using LookupTableType = itk::Image< TOutput, 1 >
 

Public Member Functions

LookupTableDataPointer GetLookupTable () const
 
 LUT ()
 
bool operator!= (const LUT &lut) const
 
TOutput operator() (const TInput &val) const
 
template<>
float operator() (const float &val) const
 
template<>
double operator() (const double &val) const
 
bool operator== (const LUT &lut) const
 
 ~LUT ()=default
 
LookupTablePointer GetLookupTable ()
 
void SetLookupTable (LookupTablePointer lut)
 

Private Attributes

InterpolatorPointer m_Interpolator
 
double m_InverseLUTSpacing
 
LookupTableDataPointer m_LookupTableDataPointer
 
LookupTablePointer m_LookupTablePointer
 

Detailed Description

template<class TInput, class TOutput>
class rtk::Functor::LUT< TInput, TOutput >

Definition at line 47 of file rtkLookupTableImageFilter.h.

Member Typedef Documentation

◆ InterpolatorPointer

template<class TInput , class TOutput >
using rtk::Functor::LUT< TInput, TOutput >::InterpolatorPointer = typename InterpolatorType::Pointer

Definition at line 54 of file rtkLookupTableImageFilter.h.

◆ InterpolatorType

template<class TInput , class TOutput >
using rtk::Functor::LUT< TInput, TOutput >::InterpolatorType = typename itk::LinearInterpolateImageFunction<LookupTableType, double>

Definition at line 53 of file rtkLookupTableImageFilter.h.

◆ LookupTableDataPointer

template<class TInput , class TOutput >
using rtk::Functor::LUT< TInput, TOutput >::LookupTableDataPointer = typename LookupTableType::PixelType *

Definition at line 52 of file rtkLookupTableImageFilter.h.

◆ LookupTablePointer

template<class TInput , class TOutput >
using rtk::Functor::LUT< TInput, TOutput >::LookupTablePointer = typename LookupTableType::Pointer

Definition at line 51 of file rtkLookupTableImageFilter.h.

◆ LookupTableType

template<class TInput , class TOutput >
using rtk::Functor::LUT< TInput, TOutput >::LookupTableType = itk::Image<TOutput, 1>

Definition at line 50 of file rtkLookupTableImageFilter.h.

Constructor & Destructor Documentation

◆ LUT()

template<class TInput , class TOutput >
rtk::Functor::LUT< TInput, TOutput >::LUT ( )
inline

Definition at line 56 of file rtkLookupTableImageFilter.h.

◆ ~LUT()

template<class TInput , class TOutput >
rtk::Functor::LUT< TInput, TOutput >::~LUT ( )
default

Member Function Documentation

◆ GetLookupTable() [1/2]

template<class TInput , class TOutput >
LookupTablePointer rtk::Functor::LUT< TInput, TOutput >::GetLookupTable ( )
inline

◆ GetLookupTable() [2/2]

template<class TInput , class TOutput >
LookupTableDataPointer rtk::Functor::LUT< TInput, TOutput >::GetLookupTable ( ) const
inline

Definition at line 78 of file rtkLookupTableImageFilter.h.

◆ operator!=()

template<class TInput , class TOutput >
bool rtk::Functor::LUT< TInput, TOutput >::operator!= ( const LUT< TInput, TOutput > &  lut) const
inline

◆ operator()() [1/3]

template<class TInput , class TOutput >
TOutput rtk::Functor::LUT< TInput, TOutput >::operator() ( const TInput &  val) const
inline

Definition at line 106 of file rtkLookupTableImageFilter.h.

◆ operator()() [2/3]

template<>
float rtk::Functor::LUT< float, float >::operator() ( const float &  val) const
inline

Definition at line 113 of file rtkLookupTableImageFilter.h.

◆ operator()() [3/3]

template<>
double rtk::Functor::LUT< double, double >::operator() ( const double &  val) const
inline

Definition at line 122 of file rtkLookupTableImageFilter.h.

◆ operator==()

template<class TInput , class TOutput >
bool rtk::Functor::LUT< TInput, TOutput >::operator== ( const LUT< TInput, TOutput > &  lut) const
inline

◆ SetLookupTable()

template<class TInput , class TOutput >
void rtk::Functor::LUT< TInput, TOutput >::SetLookupTable ( LookupTablePointer  lut)
inline

Get/Set the lookup table.

Definition at line 68 of file rtkLookupTableImageFilter.h.

Member Data Documentation

◆ m_Interpolator

template<class TInput , class TOutput >
InterpolatorPointer rtk::Functor::LUT< TInput, TOutput >::m_Interpolator
private

Definition at line 100 of file rtkLookupTableImageFilter.h.

◆ m_InverseLUTSpacing

template<class TInput , class TOutput >
double rtk::Functor::LUT< TInput, TOutput >::m_InverseLUTSpacing
private

Definition at line 101 of file rtkLookupTableImageFilter.h.

◆ m_LookupTableDataPointer

template<class TInput , class TOutput >
LookupTableDataPointer rtk::Functor::LUT< TInput, TOutput >::m_LookupTableDataPointer
private

Definition at line 99 of file rtkLookupTableImageFilter.h.

◆ m_LookupTablePointer

template<class TInput , class TOutput >
LookupTablePointer rtk::Functor::LUT< TInput, TOutput >::m_LookupTablePointer
private

Definition at line 98 of file rtkLookupTableImageFilter.h.


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