ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
rtk::Functor::LUT< TInput, TOutput > Class Template Reference

#include <rtkLookupTableImageFilter.h>

Detailed Description

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

Definition at line 47 of file 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

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

Private Attributes

InterpolatorPointer m_Interpolator
 
double m_InverseLUTSpacing {}
 
LookupTableDataPointer m_LookupTableDataPointer
 
LookupTablePointer m_LookupTablePointer
 

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]

◆ GetLookupTable() [2/2]

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

Definition at line 77 of file rtkLookupTableImageFilter.h.

◆ operator!=()

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

Definition at line 83 of file rtkLookupTableImageFilter.h.

◆ operator()() [1/3]

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

Definition at line 121 of file rtkLookupTableImageFilter.h.

◆ operator()() [2/3]

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

Definition at line 112 of file rtkLookupTableImageFilter.h.

◆ operator()() [3/3]

◆ operator==()

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

Definition at line 88 of file rtkLookupTableImageFilter.h.

◆ SetLookupTable()

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

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 99 of file rtkLookupTableImageFilter.h.

◆ m_InverseLUTSpacing

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

Definition at line 100 of file rtkLookupTableImageFilter.h.

◆ m_LookupTableDataPointer

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

Definition at line 98 of file rtkLookupTableImageFilter.h.

Referenced by operator()().

◆ m_LookupTablePointer

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

Definition at line 97 of file rtkLookupTableImageFilter.h.


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