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

itk::Accessor::RGBToLuminancePixelAccessor< TInternalType, TExternalType > Class Template Reference
[Image Adaptors]

#include <itkRGBToLuminanceImageAdaptor.h>

List of all members.


Detailed Description

template<class TInternalType, class TExternalType>
class itk::Accessor::RGBToLuminancePixelAccessor< TInternalType, TExternalType >

Give access to Luminance of a color pixel type.

RGBToLuminancePixelAccessor is templated over an internal type and an external type representation. This class cast the input applies the funtion to it and cast the result according to the types defined as template parameters. The input pixel type must support the GetLuminance() method. This is the case of the RGBPixel class for example.

Definition at line 39 of file itkRGBToLuminanceImageAdaptor.h.

Public Types

typedef TExternalType ExternalType
typedef TInternalType InternalType

Static Public Member Functions

static TExternalType Get (const TInternalType &input)
static void Set (TInternalType &output, const TExternalType &input)


Member Typedef Documentation

template<class TInternalType, class TExternalType>
typedef TExternalType itk::Accessor::RGBToLuminancePixelAccessor< TInternalType, TExternalType >::ExternalType

External typedef. It defines the external aspect that this class will exhibit.

Definition at line 44 of file itkRGBToLuminanceImageAdaptor.h.

template<class TInternalType, class TExternalType>
typedef TInternalType itk::Accessor::RGBToLuminancePixelAccessor< TInternalType, TExternalType >::InternalType

Internal typedef. It defines the internal real representation of data.

Definition at line 48 of file itkRGBToLuminanceImageAdaptor.h.


Member Function Documentation

template<class TInternalType, class TExternalType>
static TExternalType itk::Accessor::RGBToLuminancePixelAccessor< TInternalType, TExternalType >::Get ( const TInternalType &  input  )  [inline, static]

Definition at line 53 of file itkRGBToLuminanceImageAdaptor.h.

template<class TInternalType, class TExternalType>
static void itk::Accessor::RGBToLuminancePixelAccessor< TInternalType, TExternalType >::Set ( TInternalType &  output,
const TExternalType &  input 
) [inline, static]

Definition at line 50 of file itkRGBToLuminanceImageAdaptor.h.


The documentation for this class was generated from the following file:
Generated at Thu Nov 6 13:17:05 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000