ITK  4.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions
itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType > Class Template Reference

Presents a color image as being composed of the Luminance of its pixels. More...

#include <itkRGBToLuminanceImageAdaptor.h>

Inheritance diagram for itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >:
Collaboration diagram for itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef RGBToLuminanceImageAdaptor Self
typedef ImageAdaptor< TImage,
Accessor::RGBToLuminancePixelAccessor
< typename TImage::PixelType,
TOutputPixelType > > 
Superclass

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const

Static Public Member Functions

static Pointer New ()
virtual const char * GetNameOfClass () const
 RGBToLuminanceImageAdaptor ()
virtual ~RGBToLuminanceImageAdaptor ()
 RGBToLuminanceImageAdaptor (const Self &)
void operator= (const Self &)

Detailed Description

template<class TImage, class TOutputPixelType>
class itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >

Presents a color image as being composed of the Luminance of its pixels.

Additional casting is performed according to the input and output image types following C++ default casting rules. The input color pixel type must provide a GetLuminance() method.

Definition at line 71 of file itkRGBToLuminanceImageAdaptor.h.


Member Typedef Documentation

template<class TImage , class TOutputPixelType >
typedef SmartPointer< const Self > itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >::ConstPointer
template<class TImage , class TOutputPixelType >
typedef SmartPointer< Self > itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >::Pointer
template<class TImage , class TOutputPixelType >
typedef RGBToLuminanceImageAdaptor itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >::Self
template<class TImage , class TOutputPixelType >
typedef ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< typename TImage::PixelType, TOutputPixelType > > itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >::Superclass

Constructor & Destructor Documentation

template<class TImage , class TOutputPixelType >
itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >::RGBToLuminanceImageAdaptor ( ) [inline, protected]

Run-time type information (and related methods).

Definition at line 92 of file itkRGBToLuminanceImageAdaptor.h.

template<class TImage , class TOutputPixelType >
virtual itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >::~RGBToLuminanceImageAdaptor ( ) [inline, protected, virtual]

Run-time type information (and related methods).

Definition at line 93 of file itkRGBToLuminanceImageAdaptor.h.

template<class TImage , class TOutputPixelType >
itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >::RGBToLuminanceImageAdaptor ( const Self ) [private]

Run-time type information (and related methods).


Member Function Documentation

template<class TImage , class TOutputPixelType >
virtual::itk::LightObject::Pointer itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >::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::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >.

template<class TImage , class TOutputPixelType >
virtual const char* itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >::GetNameOfClass ( ) const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >.

template<class TImage , class TOutputPixelType >
static Pointer itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >::New ( ) [static]

Method for creation through the object factory.

Reimplemented from itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >.

template<class TImage , class TOutputPixelType >
void itk::RGBToLuminanceImageAdaptor< TImage, TOutputPixelType >::operator= ( const Self ) [private]

Run-time type information (and related methods).

Reimplemented from itk::ImageAdaptor< TImage, Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >.


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