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

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

Applies a linear transformation to the intensity levels of the input Image that are inside a user-defined interval. Values below this interval are mapped to a constant. Values over the interval are mapped to another constant. More...

#include <itkIntensityWindowingImageFilter.h>

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

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef IntensityWindowingImageFilter Self
typedef UnaryFunctorImageFilter<
TInputImage, TOutputImage,
Functor::IntensityWindowingTransform<
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

void BeforeThreadedGenerateData (void)
void PrintSelf (std::ostream &os, Indent indent) const
virtual void SetOutputMinimum (OutputPixelType _arg)
virtual void SetOutputMaximum (OutputPixelType _arg)
virtual const OutputPixelTypeGetOutputMinimum ()
virtual const OutputPixelTypeGetOutputMaximum ()
virtual void SetWindowMinimum (InputPixelType _arg)
virtual void SetWindowMaximum (InputPixelType _arg)
virtual const InputPixelTypeGetWindowMinimum ()
virtual const InputPixelTypeGetWindowMaximum ()
void SetWindowLevel (const InputPixelType &window, const InputPixelType &level)
InputPixelType GetWindow () const
InputPixelType GetLevel () const
virtual const RealTypeGetScale ()
virtual const RealTypeGetShift ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 IntensityWindowingImageFilter ()
virtual ~IntensityWindowingImageFilter ()

Detailed Description

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

Applies a linear transformation to the intensity levels of the input Image that are inside a user-defined interval. Values below this interval are mapped to a constant. Values over the interval are mapped to another constant.

IntensityWindowingImageFilter 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 and the lower and upper limits of the intensity window of the input image. This operation is very common in visualization, and can also be applied as a convenient preprocessing operation for image segmentation.

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

Definition at line 90 of file itkIntensityWindowingImageFilter.h.


Member Typedef Documentation

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

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

Definition at line 105 of file itkIntensityWindowingImageFilter.h.

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

Definition at line 108 of file itkIntensityWindowingImageFilter.h.

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

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

Definition at line 107 of file itkIntensityWindowingImageFilter.h.

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

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

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

Definition at line 104 of file itkIntensityWindowingImageFilter.h.

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

Definition at line 109 of file itkIntensityWindowingImageFilter.h.

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

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

Standard class typedefs.

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

Definition at line 99 of file itkIntensityWindowingImageFilter.h.

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

template<typename TInputImage, typename TOutputImage = TInputImage>
typedef UnaryFunctorImageFilter<TInputImage,TOutputImage, Functor::IntensityWindowingTransform< typename TInputImage::PixelType, typename TOutputImage::PixelType> > itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::Superclass
 

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

Definition at line 103 of file itkIntensityWindowingImageFilter.h.


Constructor & Destructor Documentation

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

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

Definition at line 155 of file itkIntensityWindowingImageFilter.h.

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


Member Function Documentation

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

Process to execute before entering the multithreaded section

Reimplemented from itk::ImageSource< TOutputImage >.

template<typename TInputImage, typename TOutputImage = TInputImage>
InputPixelType itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::GetLevel  )  const
 

Set/Get the window width and level. This is an alternative API to using the SetWindowMinimum()/SetWindowMaximum(). The window minimum and maximum are set as [level-window/2, level+window/2].

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

Set/Get the values of the maximum and minimum intensities of the outputimage

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

Set/Get the values of the maximum and minimum intensities of the outputimage

template<typename TInputImage, typename TOutputImage = TInputImage>
virtual const RealType& itk::IntensityWindowingImageFilter< 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::IntensityWindowingImageFilter< 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>
InputPixelType itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::GetWindow  )  const
 

Set/Get the window width and level. This is an alternative API to using the SetWindowMinimum()/SetWindowMaximum(). The window minimum and maximum are set as [level-window/2, level+window/2].

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

Set/Get the values of the maximum and minimum intensities of the input intensity window

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

Set/Get the values of the maximum and minimum intensities of the input intensity window

template<typename TInputImage, typename TOutputImage = TInputImage>
Pointer itk::IntensityWindowingImageFilter< 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::IntensityWindowingImageFilter< 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::IntensityWindowingImageFilter< TInputImage, TOutputImage >::SetOutputMaximum OutputPixelType  _arg  )  [virtual]
 

Set/Get the values of the maximum and minimum intensities of the outputimage

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

Set/Get the values of the maximum and minimum intensities of the outputimage

template<typename TInputImage, typename TOutputImage = TInputImage>
void itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::SetWindowLevel const InputPixelType window,
const InputPixelType level
 

Set/Get the window width and level. This is an alternative API to using the SetWindowMinimum()/SetWindowMaximum(). The window minimum and maximum are set as [level-window/2, level+window/2].

template<typename TInputImage, typename TOutputImage = TInputImage>
virtual void itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::SetWindowMaximum InputPixelType  _arg  )  [virtual]
 

Set/Get the values of the maximum and minimum intensities of the input intensity window

template<typename TInputImage, typename TOutputImage = TInputImage>
virtual void itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::SetWindowMinimum InputPixelType  _arg  )  [virtual]
 

Set/Get the values of the maximum and minimum intensities of the input intensity window


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