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

#include <rtkLookupTableImageFilter.h>

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

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

Definition at line 54 of file rtkLookupTableImageFilter.h.

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.

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

Definition at line 52 of file rtkLookupTableImageFilter.h.

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

Definition at line 51 of file rtkLookupTableImageFilter.h.

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

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

Member Function Documentation

template<class TInput , class TOutput >
LookupTablePointer rtk::Functor::LUT< TInput, TOutput >::GetLookupTable ( )
inline
template<class TInput , class TOutput >
LookupTableDataPointer rtk::Functor::LUT< TInput, TOutput >::GetLookupTable ( ) const
inline
template<class TInput , class TOutput >
bool rtk::Functor::LUT< TInput, TOutput >::operator!= ( const LUT< TInput, TOutput > &  lut) const
inline
template<class TInput , class TOutput >
TOutput rtk::Functor::LUT< TInput, TOutput >::operator() ( const TInput &  val) const
inline
template<>
float rtk::Functor::LUT< float, float >::operator() ( const float &  val) const
inline
template<>
double rtk::Functor::LUT< double, double >::operator() ( const double &  val) const
inline
template<class TInput , class TOutput >
bool rtk::Functor::LUT< TInput, TOutput >::operator== ( const LUT< TInput, TOutput > &  lut) const
inline
template<class TInput , class TOutput >
void rtk::Functor::LUT< TInput, TOutput >::SetLookupTable ( LookupTablePointer  lut)
inline

Member Data Documentation

template<class TInput , class TOutput >
InterpolatorPointer rtk::Functor::LUT< TInput, TOutput >::m_Interpolator
private
template<class TInput , class TOutput >
double rtk::Functor::LUT< TInput, TOutput >::m_InverseLUTSpacing
private
template<class TInput , class TOutput >
LookupTableDataPointer rtk::Functor::LUT< TInput, TOutput >::m_LookupTableDataPointer
private
template<class TInput , class TOutput >
LookupTablePointer rtk::Functor::LUT< TInput, TOutput >::m_LookupTablePointer
private

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