RTK
2.6.0
Reconstruction Toolkit
|
#include <rtkLookupTableImageFilter.h>
Public Types | |
using | ConstPointer = itk::SmartPointer< const Self > |
using | FunctorType = Functor::LUT< typename TInputImage::PixelType, typename TOutputImage::PixelType > |
using | LookupTableType = typename FunctorType::LookupTableType |
using | Pointer = itk::SmartPointer< Self > |
using | Self = LookupTableImageFilter |
using | Superclass = itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, FunctorType > |
Public Member Functions | |
void | BeforeThreadedGenerateData () override |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual const LookupTableType * | GetLookupTable () const |
virtual LookupTableType * | GetModifiableLookupTable () |
virtual const char * | GetNameOfClass () const |
virtual void | SetLookupTable (LookupTableType *_arg) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
LookupTableImageFilter ()=default | |
~LookupTableImageFilter () override=default | |
Protected Attributes | |
LookupTableType::Pointer | m_LookupTable |
Function to do the lookup operation.
Converts values of an input image using lookup table.
The lookup table is a 1D image. Two cases:
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.
Definition at line 145 of file rtkLookupTableImageFilter.h.
using rtk::LookupTableImageFilter< TInputImage, TOutputImage >::ConstPointer = itk::SmartPointer<const Self> |
Definition at line 161 of file rtkLookupTableImageFilter.h.
using rtk::LookupTableImageFilter< TInputImage, TOutputImage >::FunctorType = Functor::LUT<typename TInputImage::PixelType, typename TOutputImage::PixelType> |
Lookup table type definition.
Definition at line 154 of file rtkLookupTableImageFilter.h.
using rtk::LookupTableImageFilter< TInputImage, TOutputImage >::LookupTableType = typename FunctorType::LookupTableType |
Definition at line 155 of file rtkLookupTableImageFilter.h.
using rtk::LookupTableImageFilter< TInputImage, TOutputImage >::Pointer = itk::SmartPointer<Self> |
Definition at line 160 of file rtkLookupTableImageFilter.h.
using rtk::LookupTableImageFilter< TInputImage, TOutputImage >::Self = LookupTableImageFilter |
Standard class type alias.
Definition at line 158 of file rtkLookupTableImageFilter.h.
using rtk::LookupTableImageFilter< TInputImage, TOutputImage >::Superclass = itk::UnaryFunctorImageFilter<TInputImage, TOutputImage, FunctorType> |
Definition at line 159 of file rtkLookupTableImageFilter.h.
|
protecteddefault |
|
overrideprotecteddefault |
|
overridevirtual |
Update the LUT before using it to process the data in case it is the result of a pipeline.
Reimplemented from itk::ImageSource< TOutputImage >.
Reimplemented in rtk::LUTbasedVariableI0RawToAttenuationImageFilter< TInputImage, TOutputImage >.
|
virtual |
Reimplemented from itk::Object.
Reimplemented in rtk::LUTbasedVariableI0RawToAttenuationImageFilter< TInputImage, TOutputImage >.
|
virtual |
|
virtual |
Get lookup table.
|
virtual |
Runtime information support.
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Reimplemented in rtk::LUTbasedVariableI0RawToAttenuationImageFilter< TInputImage, TOutputImage >, rtk::ElektaSynergyRawLookupTableImageFilter< TInputImage, TOutputImage >, rtk::OraLookupTableImageFilter< TOutputImage >, and rtk::ElektaSynergyLookupTableImageFilter< TOutputImage >.
|
static |
Method for creation through the object factory.
|
inlinevirtual |
Set lookup table.
Definition at line 176 of file rtkLookupTableImageFilter.h.
|
protected |
Definition at line 203 of file rtkLookupTableImageFilter.h.