NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
itk::BoundaryValueRescaleIntensityImageFilter< TImageType > Class Template Reference

Applies a linear transformation to the intensity levels of the input Image, but takes into an upper and lower threshold, so we can reassign stuff thats above or below (respectively) these thresholds to a set OutputBoundaryValue. More...

Inheritance diagram for itk::BoundaryValueRescaleIntensityImageFilter< TImageType >:
Inheritance graph
[legend]
Collaboration diagram for itk::BoundaryValueRescaleIntensityImageFilter< TImageType >:
Collaboration graph
[legend]

Public Types

typedef
BoundaryValueRescaleIntensityImageFilter 
Self
 
typedef ImageToImageFilter
< TImageType, TImageType > 
Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef TImageType::PixelType PixelType
 
typedef TImageType ImageType
 
typedef ImageType::Pointer ImagePointer
 
typedef ImageType::RegionType ImageRegionType
 
typedef
BinaryThresholdImageFilter
< ImageType, ImageType
BinaryThresholdFilterType
 
typedef
BinaryThresholdFilterType::Pointer 
BinaryThresholdFilterPointer
 
typedef NumericTraits
< PixelType >::RealType 
RealType
 

Public Member Functions

virtual const char * GetClassName () const
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void SetInputLowerThreshold (PixelType _arg)
 
virtual PixelType GetInputLowerThreshold ()
 
virtual void SetInputUpperThreshold (PixelType _arg)
 
virtual PixelType GetInputUpperThreshold ()
 
virtual void SetOutputMinimum (PixelType _arg)
 
virtual PixelType GetOutputMinimum ()
 
virtual void SetOutputMaximum (PixelType _arg)
 
virtual PixelType GetOutputMaximum ()
 
virtual void SetOutputBoundaryValue (PixelType _arg)
 
virtual PixelType GetOutputBoundaryValue ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 BoundaryValueRescaleIntensityImageFilter ()
 
virtual ~BoundaryValueRescaleIntensityImageFilter ()
 
virtual void BeforeThreadedGenerateData ()
 
virtual void ThreadedGenerateData (const ImageRegionType &outputRegionForThread, ThreadIdType threadId)
 

Detailed Description

template<typename TImageType>
class itk::BoundaryValueRescaleIntensityImageFilter< TImageType >

Applies a linear transformation to the intensity levels of the input Image, but takes into an upper and lower threshold, so we can reassign stuff thats above or below (respectively) these thresholds to a set OutputBoundaryValue.

The user should specify InputLowerThreshold, InputUpperThreshold, OutputBoundaryValue, OutputMinimum, OutputMaximum.

The output is then

if 
  input < InputLowerThreshold, output = OutputBoundaryValue
else if 
  input > InputUpperThreshold, output = OutputBoundaryValue
else 
  the max and minimum of the input image is calculated, and each value
  rescaled to match the range between OutputMinimum and OutputMaximum

Member Typedef Documentation

template<typename TImageType >
typedef BinaryThresholdFilterType::Pointer itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::BinaryThresholdFilterPointer
template<typename TImageType >
typedef BinaryThresholdImageFilter<ImageType, ImageType> itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::BinaryThresholdFilterType
template<typename TImageType >
typedef SmartPointer<const Self> itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::ConstPointer
template<typename TImageType >
typedef ImageType::Pointer itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::ImagePointer
template<typename TImageType >
typedef ImageType::RegionType itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::ImageRegionType
template<typename TImageType >
typedef TImageType itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::ImageType
template<typename TImageType >
typedef TImageType::PixelType itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::PixelType
template<typename TImageType >
typedef SmartPointer<Self> itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::Pointer
template<typename TImageType >
typedef NumericTraits<PixelType>::RealType itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::RealType

Standard class typedefs.

template<typename TImageType >
typedef ImageToImageFilter<TImageType, TImageType> itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::Superclass

Constructor & Destructor Documentation

template<typename TImageType >
itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::BoundaryValueRescaleIntensityImageFilter ( )
protected
template<typename TImageType >
virtual itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::~BoundaryValueRescaleIntensityImageFilter ( )
inlineprotectedvirtual

Member Function Documentation

template<typename TImageType >
virtual void itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::BeforeThreadedGenerateData ( )
protectedvirtual
template<typename TImageType >
virtual const char* itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::GetClassName ( ) const
virtual

Runtime information support.

template<typename TImageType >
virtual PixelType itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::GetInputLowerThreshold ( )
virtual
template<typename TImageType >
virtual PixelType itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::GetInputUpperThreshold ( )
virtual
template<typename TImageType >
virtual PixelType itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::GetOutputBoundaryValue ( )
virtual
template<typename TImageType >
virtual PixelType itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::GetOutputMaximum ( )
virtual
template<typename TImageType >
virtual PixelType itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::GetOutputMinimum ( )
virtual
template<typename TImageType >
static Pointer itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::New ( )
static

Method for creation through the object factory.

template<typename TImageType >
void itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const

Print internal ivars

template<typename TImageType >
virtual void itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::SetInputLowerThreshold ( PixelType  _arg)
virtual

Set/Get the lower threshold, values < this are masked out, and set to OutputBoundaryValue.

template<typename TImageType >
virtual void itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::SetInputUpperThreshold ( PixelType  _arg)
virtual

Set/Get the upper threshold, values > this are masked out, and set to OutputBoundaryValue.

template<typename TImageType >
virtual void itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::SetOutputBoundaryValue ( PixelType  _arg)
virtual

Set/Get the output boundary value. Not included in rescale calculations.

template<typename TImageType >
virtual void itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::SetOutputMaximum ( PixelType  _arg)
virtual

Set/Get the output maximum (apart from OutputBoundaryValue).

template<typename TImageType >
virtual void itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::SetOutputMinimum ( PixelType  _arg)
virtual

Set/Get the output minimum (apart from OutputBoundaryValue).

template<typename TImageType >
virtual void itk::BoundaryValueRescaleIntensityImageFilter< TImageType >::ThreadedGenerateData ( const ImageRegionType outputRegionForThread,
ThreadIdType  threadId 
)
protectedvirtual

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