ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
itk::IntensityWindowingImageFilter< TInputImage, TOutputImage > Class Template Reference

#include <itkIntensityWindowingImageFilter.h>

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

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef TInputImage::PixelType InputPixelType
typedef TOutputImage::PixelType OutputPixelType
typedef SmartPointer< SelfPointer
typedef NumericTraits
< InputPixelType >::RealType 
RealType
typedef
IntensityWindowingImageFilter 
Self
typedef
UnaryFunctorImageFilter
< TInputImage, TOutputImage,
Functor::IntensityWindowingTransform
< typename
TInputImage::PixelType,
typename
TOutputImage::PixelType > > 
Superclass

Public Member Functions

void BeforeThreadedGenerateData (void)
virtual ::itk::LightObject::Pointer CreateAnother (void) const
InputPixelType GetLevel () const
virtual const char * GetNameOfClass () const
InputPixelType GetWindow () const
void PrintSelf (std::ostream &os, Indent indent) const
void SetWindowLevel (const InputPixelType &window, const InputPixelType &level)
 typedef (Concept::HasNumericTraits< InputPixelType >) InputHasNumericTraitsCheck
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 ()
virtual const RealTypeGetScale ()
virtual const RealTypeGetShift ()

Static Public Member Functions

static Pointer New ()

Private Attributes

OutputPixelType m_OutputMaximum
OutputPixelType m_OutputMinimum
RealType m_Scale
RealType m_Shift
InputPixelType m_WindowMaximum
InputPixelType m_WindowMinimum
 IntensityWindowingImageFilter ()
virtual ~IntensityWindowingImageFilter ()
 IntensityWindowingImageFilter (const Self &)
void operator= (const Self &)

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.

Wiki Examples:
See also:
RescaleIntensityImageFilter

Definition at line 115 of file itkIntensityWindowingImageFilter.h.


Member Typedef Documentation

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

Definition at line 135 of file itkIntensityWindowingImageFilter.h.

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

Definition at line 134 of file itkIntensityWindowingImageFilter.h.

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

Definition at line 136 of file itkIntensityWindowingImageFilter.h.

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

Constructor & Destructor Documentation

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

End concept checking

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

End concept checking

Definition at line 194 of file itkIntensityWindowingImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::IntensityWindowingImageFilter ( const Self ) [private]

End concept checking


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>
virtual::itk::LightObject::Pointer itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::CreateAnother ( void  ) const [virtual]

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::IntensityWindowingTransform< TInputImage::PixelType, TOutputImage::PixelType > >.

template<typename TInputImage , typename TOutputImage = TInputImage>
InputPixelType itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::GetLevel ( ) const
template<typename TInputImage , typename TOutputImage = TInputImage>
virtual const char* itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const [virtual]
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
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>
static Pointer itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::New ( ) [static]
template<typename TInputImage , typename TOutputImage = TInputImage>
void itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::operator= ( const Self ) [private]
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

template<typename TInputImage , typename TOutputImage = TInputImage>
itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::typedef ( Concept::HasNumericTraits< InputPixelType )

Begin concept checking This class requires InputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< InputPixelType > )


Member Data Documentation

template<typename TInputImage , typename TOutputImage = TInputImage>
OutputPixelType itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::m_OutputMaximum [private]

Definition at line 207 of file itkIntensityWindowingImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
OutputPixelType itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::m_OutputMinimum [private]

Definition at line 206 of file itkIntensityWindowingImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
RealType itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::m_Scale [private]

Definition at line 200 of file itkIntensityWindowingImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
RealType itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::m_Shift [private]

Definition at line 201 of file itkIntensityWindowingImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
InputPixelType itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::m_WindowMaximum [private]

Definition at line 204 of file itkIntensityWindowingImageFilter.h.

template<typename TInputImage , typename TOutputImage = TInputImage>
InputPixelType itk::IntensityWindowingImageFilter< TInputImage, TOutputImage >::m_WindowMinimum [private]

Definition at line 203 of file itkIntensityWindowingImageFilter.h.


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