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

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

Converts an RGB image into a grayscale image. More...

#include <itkRGBToLuminanceImageFilter.h>

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

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef RGBToLuminanceImageFilter Self
typedef UnaryFunctorImageFilter<
TInputImage, TOutputImage,
Function::RGBToLuminance<
typename TInputImage::PixelType,
typename TOutputImage::PixelType > > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer

Static Public Member Functions

Pointer New ()

Protected Member Functions

 RGBToLuminanceImageFilter ()
virtual ~RGBToLuminanceImageFilter ()

Detailed Description

template<class TInputImage, class TOutputImage>
class itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >

Converts an RGB image into a grayscale image.

This filters converts an RGB image into a Luminance on by computing pixel-wise a linear combination on the Red, Green and Blue channels. The pixel type of the input image must have a GetLuminance() method. This is the case of the itk::RGBPixel class.

Definition at line 52 of file itkRGBToLuminanceImageFilter.h.


Member Typedef Documentation

template<class TInputImage, class TOutputImage>
typedef SmartPointer<const Self> itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::ConstPointer
 

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

Definition at line 66 of file itkRGBToLuminanceImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef SmartPointer<Self> itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::Pointer
 

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

Definition at line 65 of file itkRGBToLuminanceImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef RGBToLuminanceImageFilter itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::Self
 

Standard class typedefs.

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

Definition at line 61 of file itkRGBToLuminanceImageFilter.h.

template<class TInputImage, class TOutputImage>
typedef UnaryFunctorImageFilter<TInputImage,TOutputImage, Function::RGBToLuminance< typename TInputImage::PixelType, typename TOutputImage::PixelType> > itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::Superclass
 

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

Definition at line 64 of file itkRGBToLuminanceImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage, class TOutputImage>
itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::RGBToLuminanceImageFilter  )  [inline, protected]
 

Definition at line 72 of file itkRGBToLuminanceImageFilter.h.

template<class TInputImage, class TOutputImage>
virtual itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::~RGBToLuminanceImageFilter  )  [inline, protected, virtual]
 

Definition at line 73 of file itkRGBToLuminanceImageFilter.h.


Member Function Documentation

template<class TInputImage, class TOutputImage>
Pointer itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::New  )  [static]
 

Method for creation through the object factory.

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


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