open_iA 2023.02
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | List of all members
itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage > Class Template Reference

Applies a linear transformation to the intensity levels of the input Image. More...

#include <itkFHWRescaleIntensityImageFilter.h>

Inheritance diagram for itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >:
[legend]
Collaboration diagram for itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >:
[legend]

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef TInputImage::PixelType InputPixelType
 
typedef TOutputImage::PixelType OutputPixelType
 
typedef SmartPointer< SelfPointer
 
typedef NumericTraits< InputPixelType >::RealType RealType
 
typedef FHWRescaleIntensityImageFilter Self
 Standard class typedefs.
 
typedef UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::FHWIntensityLinearTransform< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
 

Public Member Functions

void BeforeThreadedGenerateData (void) override
 Get the Minimum and Maximum values of the input image.
 
 itkGetConstReferenceMacro (OutputMaximum, OutputPixelType)
 
 itkGetConstReferenceMacro (OutputMinimum, OutputPixelType)
 
 itkGetConstReferenceMacro (Scale, RealType)
 Get the Scale and Shift used for the linear transformation of gray level values.
 
 itkGetConstReferenceMacro (Shift, RealType)
 
 itkNewMacro (Self)
 Method for creation through the object factory.
 
 itkSetMacro (InputMaximum, float)
 
 itkSetMacro (InputMinimum, float)
 
 itkSetMacro (OutputMaximum, OutputPixelType)
 
 itkSetMacro (OutputMinimum, OutputPixelType)
 
 itkTypeMacro (FHWRescaleIntensityImageFilter, UnaryFunctorImageFilter)
 Runtime information support.
 
void PrintSelf (std::ostream &os, Indent indent) const override
 Print internal ivars.
 

Protected Member Functions

 FHWRescaleIntensityImageFilter ()
 
virtual ~FHWRescaleIntensityImageFilter ()
 

Detailed Description

template<typename TInputImage, typename TOutputImage = TInputImage>
class itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >

Applies a linear transformation to the intensity levels of the input Image.

FHWRescaleIntensityImageFilter applies pixel-wise a linear transformation to the intensity values of input image pixels. The linear transformation is defined by the user in terms of the minimum and maximum values that the output image should have.

The following equation gives the mapping of the intensity values

\[ outputPixel = ( inputPixel - inputMin) \cdot \frac{(outputMax - outputMin )}{(inputMax - inputMin)} + outputMin \]

All computations are performed in the precison of the input pixel's RealType. Before assigning the computed value to the output pixel.

Member Typedef Documentation

◆ ConstPointer

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef SmartPointer< const Self > itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >::ConstPointer

◆ InputPixelType

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef TInputImage::PixelType itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >::InputPixelType

◆ OutputPixelType

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef TOutputImage::PixelType itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >::OutputPixelType

◆ Pointer

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef SmartPointer< Self > itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >::Pointer

◆ RealType

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef NumericTraits<InputPixelType>::RealType itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >::RealType

◆ Self

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef FHWRescaleIntensityImageFilter itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >::Self

Standard class typedefs.

◆ Superclass

template<typename TInputImage , typename TOutputImage = TInputImage>
typedef UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::FHWIntensityLinearTransform< typename TInputImage::PixelType, typename TOutputImage::PixelType > > itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >::Superclass

Constructor & Destructor Documentation

◆ FHWRescaleIntensityImageFilter()

template<typename TInputImage , typename TOutputImage = TInputImage>
itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >::FHWRescaleIntensityImageFilter ( )
protected

◆ ~FHWRescaleIntensityImageFilter()

template<typename TInputImage , typename TOutputImage = TInputImage>
virtual itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >::~FHWRescaleIntensityImageFilter ( )
inlineprotectedvirtual

Member Function Documentation

◆ BeforeThreadedGenerateData()

template<typename TInputImage , typename TOutputImage = TInputImage>
void itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData ( void  )
override

Get the Minimum and Maximum values of the input image.

Warning
These Values are only valid after the filter has been updated Process to execute before entering the multithreaded section

◆ itkGetConstReferenceMacro() [1/4]

template<typename TInputImage , typename TOutputImage = TInputImage>
itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >::itkGetConstReferenceMacro ( OutputMaximum  ,
OutputPixelType   
)

◆ itkGetConstReferenceMacro() [2/4]

template<typename TInputImage , typename TOutputImage = TInputImage>
itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >::itkGetConstReferenceMacro ( OutputMinimum  ,
OutputPixelType   
)

◆ itkGetConstReferenceMacro() [3/4]

template<typename TInputImage , typename TOutputImage = TInputImage>
itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >::itkGetConstReferenceMacro ( Scale  ,
RealType   
)

Get the Scale and Shift used for the linear transformation of gray level values.

Warning
These Values are only valid after the filter has been updated

◆ itkGetConstReferenceMacro() [4/4]

template<typename TInputImage , typename TOutputImage = TInputImage>
itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >::itkGetConstReferenceMacro ( Shift  ,
RealType   
)

◆ itkNewMacro()

template<typename TInputImage , typename TOutputImage = TInputImage>
itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >::itkNewMacro ( Self  )

Method for creation through the object factory.

◆ itkSetMacro() [1/4]

template<typename TInputImage , typename TOutputImage = TInputImage>
itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >::itkSetMacro ( InputMaximum  ,
float   
)

◆ itkSetMacro() [2/4]

template<typename TInputImage , typename TOutputImage = TInputImage>
itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >::itkSetMacro ( InputMinimum  ,
float   
)

◆ itkSetMacro() [3/4]

template<typename TInputImage , typename TOutputImage = TInputImage>
itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >::itkSetMacro ( OutputMaximum  ,
OutputPixelType   
)

◆ itkSetMacro() [4/4]

template<typename TInputImage , typename TOutputImage = TInputImage>
itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >::itkSetMacro ( OutputMinimum  ,
OutputPixelType   
)

◆ itkTypeMacro()

template<typename TInputImage , typename TOutputImage = TInputImage>
itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >::itkTypeMacro ( FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >  ,
UnaryFunctorImageFilter   
)

Runtime information support.

◆ PrintSelf()

template<typename TInputImage , typename TOutputImage = TInputImage>
void itk::FHWRescaleIntensityImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
override

Print internal ivars.


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