Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts
Public Types | Public Member Functions

itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel > Class Template Reference

Functor for applying a colormap to a label image and combine it with a grayscale image. More...

#include <itkLabelOverlayFunctor.h>

Inheritance diagram for itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >:
Inheritance graph
[legend]
Collaboration diagram for itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef TRGBPixel::ComponentType ComponentType

Public Member Functions

void AddColor (ComponentType r, ComponentType g, ComponentType b)
unsigned int GetNumberOfColors () const
 LabelOverlayFunctor ()
bool operator!= (const LabelOverlayFunctor &l) const
TRGBPixel operator() (const TInputPixel &p1, const TLabel &p2) const
void ResetColors ()
void SetBackgroundValue (TLabel v)
void SetOpacity (double opacity)
 ~LabelOverlayFunctor ()

Detailed Description

template<class TInputPixel, class TLabel, class TRGBPixel>
class itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >

Functor for applying a colormap to a label image and combine it with a grayscale image.

This functor class used internally by LabelOverlayImageFilter

Author:
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France.
See also:
LabelOverlayImageFilter LabelToRGBFunctor

Definition at line 41 of file itkLabelOverlayFunctor.h.


Member Typedef Documentation

template<class TInputPixel, class TLabel, class TRGBPixel>
typedef TRGBPixel::ComponentType itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >::ComponentType

type of the color component

Definition at line 110 of file itkLabelOverlayFunctor.h.


Constructor & Destructor Documentation

template<class TInputPixel, class TLabel, class TRGBPixel>
itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >::LabelOverlayFunctor (  )  [inline]

Definition at line 44 of file itkLabelOverlayFunctor.h.

template<class TInputPixel, class TLabel, class TRGBPixel>
itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >::~LabelOverlayFunctor (  )  [inline]

Definition at line 86 of file itkLabelOverlayFunctor.h.


Member Function Documentation

template<class TInputPixel, class TLabel, class TRGBPixel>
void itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >::AddColor ( ComponentType  r,
ComponentType  g,
ComponentType  b 
) [inline]

Definition at line 112 of file itkLabelOverlayFunctor.h.

template<class TInputPixel, class TLabel, class TRGBPixel>
unsigned int itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >::GetNumberOfColors (  )  const [inline]

Definition at line 104 of file itkLabelOverlayFunctor.h.

template<class TInputPixel, class TLabel, class TRGBPixel>
bool itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >::operator!= ( const LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel > &  l  )  const [inline]

Definition at line 78 of file itkLabelOverlayFunctor.h.

template<class TInputPixel, class TLabel, class TRGBPixel>
TRGBPixel itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >::operator() ( const TInputPixel &  p1,
const TLabel &  p2 
) const [inline]

Definition at line 52 of file itkLabelOverlayFunctor.h.

template<class TInputPixel, class TLabel, class TRGBPixel>
void itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >::ResetColors (  )  [inline]

Definition at line 99 of file itkLabelOverlayFunctor.h.

template<class TInputPixel, class TLabel, class TRGBPixel>
void itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >::SetBackgroundValue ( TLabel  v  )  [inline]

Definition at line 93 of file itkLabelOverlayFunctor.h.

template<class TInputPixel, class TLabel, class TRGBPixel>
void itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >::SetOpacity ( double  opacity  )  [inline]

Definition at line 88 of file itkLabelOverlayFunctor.h.


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

Generated at Tue Jul 13 2010 04:01:16 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000