ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions
itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage > Class Template Reference

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

#include <itkRGBToLuminanceImageFilter.h>

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

List of all members.

Public Types

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

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
 typedef (Concept::HasNumericTraits< typename TInputImage::PixelType::ComponentType >) InputHasNumericTraitsCheck

Static Public Member Functions

static Pointer New ()
 RGBToLuminanceImageFilter ()
virtual ~RGBToLuminanceImageFilter ()
 RGBToLuminanceImageFilter (const Self &)
void operator= (const Self &)

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 63 of file itkRGBToLuminanceImageFilter.h.


Member Typedef Documentation

template<class TInputImage , class TOutputImage >
typedef SmartPointer< const Self > itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::ConstPointer
template<class TInputImage , class TOutputImage >
typedef SmartPointer< Self > itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::Pointer
template<class TInputImage , class TOutputImage >
typedef RGBToLuminanceImageFilter itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::Self
template<class TInputImage , class TOutputImage >
typedef UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::RGBToLuminance< typename TInputImage::PixelType, typename TOutputImage::PixelType > > itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::Superclass

Constructor & Destructor Documentation

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

End concept checking

Definition at line 96 of file itkRGBToLuminanceImageFilter.h.

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

End concept checking

Definition at line 97 of file itkRGBToLuminanceImageFilter.h.

template<class TInputImage , class TOutputImage >
itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::RGBToLuminanceImageFilter ( const Self ) [private]

End concept checking


Member Function Documentation

template<class TInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer itk::RGBToLuminanceImageFilter< 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::RGBToLuminance< TInputImage::PixelType, TOutputImage::PixelType > >.

template<class TInputImage , class TOutputImage >
virtual const char* itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const [virtual]
template<class TInputImage , class TOutputImage >
static Pointer itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::New ( ) [static]
template<class TInputImage , class TOutputImage >
void itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::operator= ( const Self ) [private]
template<class TInputImage , class TOutputImage >
itk::RGBToLuminanceImageFilter< TInputImage, TOutputImage >::typedef ( Concept::HasNumericTraits< typename TInputImage::PixelType::ComponentType >  )

Begin concept checking This class requires InputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< typename TInputImage::PixelType::ComponentType > )


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