Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::RescaleIntensityImageFilter< TInputImage, TOutputImage > Class Template Reference
[Intensity Image FiltersMultithreaded Filters]

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

#include <itkRescaleIntensityImageFilter.h>

Inheritance diagram for itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef RescaleIntensityImageFilter Self
typedef UnaryFunctorImageFilter<
TInputImage, TOutputImage,
Functor::IntensityLinearTransform<
typename TInputImage::PixelType,
typename TOutputImage::PixelType > > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TOutputImage::PixelType OutputPixelType
typedef TInputImage::PixelType InputPixelType
typedef NumericTraits< InputPixelType
>::RealType 
RealType

Public Member Functions

virtual void SetOutputMinimum (OutputPixelType _arg)
virtual void SetOutputMaximum (OutputPixelType _arg)
virtual const OutputPixelTypeGetOutputMinimum ()
virtual const OutputPixelTypeGetOutputMaximum ()
void BeforeThreadedGenerateData (void)
void PrintSelf (std::ostream &os, Indent indent) const
virtual const RealTypeGetScale ()
virtual const RealTypeGetShift ()
virtual const InputPixelTypeGetInputMinimum ()
virtual const InputPixelTypeGetInputMaximum ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 RescaleIntensityImageFilter ()
virtual ~RescaleIntensityImageFilter ()

Detailed Description

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

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

RescaleIntensityImageFilter 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.

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

NOTE: In this filter the minimum and maximum values of the input image are computed internally using the MinimumMaximumImageCalculator. Users are not supposed to set those values in this filter. If you need a filter where you can set the minimum and maximum values of the input, please use the IntensityWindowingImageFilter. If you want a filter that can use a user-defined linear transformation for the intensity, then please use teh ShiftScaleImageFilter.

See also:
IntensityWindowingImageFilter

Definition at line 84 of file itkRescaleIntensityImageFilter.h.


Member Typedef Documentation

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

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.

Definition at line 99 of file itkRescaleIntensityImageFilter.h.

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

Definition at line 102 of file itkRescaleIntensityImageFilter.h.

Referenced by itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >::~RescaleIntensityImageFilter().

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

Definition at line 101 of file itkRescaleIntensityImageFilter.h.

Referenced by itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >::~RescaleIntensityImageFilter().

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

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.

Definition at line 98 of file itkRescaleIntensityImageFilter.h.

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

Definition at line 103 of file itkRescaleIntensityImageFilter.h.

Referenced by itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >::~RescaleIntensityImageFilter().

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

Standard class typedefs.

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.

Definition at line 93 of file itkRescaleIntensityImageFilter.h.

Referenced by itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >::~RescaleIntensityImageFilter().

template<typename TInputImage, typename TOutputImage = TInputImage>
typedef UnaryFunctorImageFilter<TInputImage,TOutputImage, Functor::IntensityLinearTransform< typename TInputImage::PixelType, typename TOutputImage::PixelType> > itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >::Superclass
 

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.

Definition at line 97 of file itkRescaleIntensityImageFilter.h.


Constructor & Destructor Documentation

template<typename TInputImage, typename TOutputImage = TInputImage>
itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >::RescaleIntensityImageFilter  )  [protected]
 

template<typename TInputImage, typename TOutputImage = TInputImage>
virtual itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >::~RescaleIntensityImageFilter  )  [inline, protected, virtual]
 

Definition at line 134 of file itkRescaleIntensityImageFilter.h.

References itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >::InputPixelType, itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >::OutputPixelType, itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >::RealType, and itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >::Self.


Member Function Documentation

template<typename TInputImage, typename TOutputImage = TInputImage>
void itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData void   )  [virtual]
 

Process to execute before entering the multithreaded section

Reimplemented from itk::ImageSource< TOutputImage >.

template<typename TInputImage, typename TOutputImage = TInputImage>
virtual const InputPixelType& itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >::GetInputMaximum  )  [virtual]
 

Get the Minimum and Maximum values of the input image.

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

template<typename TInputImage, typename TOutputImage = TInputImage>
virtual const InputPixelType& itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >::GetInputMinimum  )  [virtual]
 

Get the Minimum and Maximum values of the input image.

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

template<typename TInputImage, typename TOutputImage = TInputImage>
virtual const OutputPixelType& itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >::GetOutputMaximum  )  [virtual]
 

template<typename TInputImage, typename TOutputImage = TInputImage>
virtual const OutputPixelType& itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >::GetOutputMinimum  )  [virtual]
 

template<typename TInputImage, typename TOutputImage = TInputImage>
virtual const RealType& itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >::GetScale  )  [virtual]
 

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

template<typename TInputImage, typename TOutputImage = TInputImage>
virtual const RealType& itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >::GetShift  )  [virtual]
 

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

template<typename TInputImage, typename TOutputImage = TInputImage>
Pointer itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, TFunction >.

template<typename TInputImage, typename TOutputImage = TInputImage>
void itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >::PrintSelf std::ostream &  os,
Indent  indent
const [virtual]
 

Print internal ivars

Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.

template<typename TInputImage, typename TOutputImage = TInputImage>
virtual void itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >::SetOutputMaximum OutputPixelType  _arg  )  [virtual]
 

template<typename TInputImage, typename TOutputImage = TInputImage>
virtual void itk::RescaleIntensityImageFilter< TInputImage, TOutputImage >::SetOutputMinimum OutputPixelType  _arg  )  [virtual]
 


The documentation for this class was generated from the following file:
Generated at Thu May 25 02:12:14 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000