Functor for applying a colormap to a label image and combine it with a grayscale image. More...
#include <itkLabelOverlayFunctor.h>
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 () |
Functor for applying a colormap to a label image and combine it with a grayscale image.
This functor class used internally by LabelOverlayImageFilter
Definition at line 41 of file itkLabelOverlayFunctor.h.
typedef TRGBPixel::ComponentType itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >::ComponentType |
type of the color component
Definition at line 110 of file itkLabelOverlayFunctor.h.
itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >::LabelOverlayFunctor | ( | ) | [inline] |
Definition at line 44 of file itkLabelOverlayFunctor.h.
itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >::~LabelOverlayFunctor | ( | ) | [inline] |
Definition at line 86 of file itkLabelOverlayFunctor.h.
void itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >::AddColor | ( | ComponentType | r, | |
ComponentType | g, | |||
ComponentType | b | |||
) | [inline] |
Definition at line 112 of file itkLabelOverlayFunctor.h.
unsigned int itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >::GetNumberOfColors | ( | ) | const [inline] |
Definition at line 104 of file itkLabelOverlayFunctor.h.
bool itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >::operator!= | ( | const LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel > & | l | ) | const [inline] |
Definition at line 78 of file itkLabelOverlayFunctor.h.
TRGBPixel itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >::operator() | ( | const TInputPixel & | p1, | |
const TLabel & | p2 | |||
) | const [inline] |
Definition at line 52 of file itkLabelOverlayFunctor.h.
void itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >::ResetColors | ( | ) | [inline] |
Definition at line 99 of file itkLabelOverlayFunctor.h.
void itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >::SetBackgroundValue | ( | TLabel | v | ) | [inline] |
Definition at line 93 of file itkLabelOverlayFunctor.h.
void itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >::SetOpacity | ( | double | opacity | ) | [inline] |
Definition at line 88 of file itkLabelOverlayFunctor.h.