ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkLabelToRGBFunctor.h>
Public Types | |
typedef LabelToRGBFunctor | Self |
Public Member Functions | |
void | AddColor (unsigned char r, unsigned char g, unsigned char b) |
unsigned int | GetNumberOfColors () const |
LabelToRGBFunctor () | |
bool | operator!= (const Self &l) const |
TRGBPixel | operator() (const TLabel &p) const |
bool | operator== (const Self &other) const |
void | ResetColors () |
void | SetBackgroundColor (TRGBPixel rgb) |
void | SetBackgroundValue (TLabel v) |
~LabelToRGBFunctor () |
Public Attributes | |
TRGBPixel | m_BackgroundColor |
TLabel | m_BackgroundValue |
std::vector< TRGBPixel > | m_Colors |
Functor for converting labels into RGB triplets.
This functor class used internally by LabelToRGBImageFilter
This code was contributed in the Insight Journal paper: "The watershed transform in ITK - discussion and new developments" by Beare R., Lehmann G. http://hdl.handle.net/1926/202 http://www.insight-journal.org/browse/publication/92
Definition at line 50 of file itkLabelToRGBFunctor.h.
typedef LabelToRGBFunctor itk::Functor::LabelToRGBFunctor< TLabel, TRGBPixel >::Self |
Definition at line 54 of file itkLabelToRGBFunctor.h.
|
inline |
Definition at line 56 of file itkLabelToRGBFunctor.h.
|
inline |
Definition at line 176 of file itkLabelToRGBFunctor.h.
|
inline |
Definition at line 126 of file itkLabelToRGBFunctor.h.
Referenced by itk::Functor::LabelToRGBFunctor< TLabelImage::PixelType, TOutputImage::PixelType >::LabelToRGBFunctor().
|
inline |
Definition at line 148 of file itkLabelToRGBFunctor.h.
|
inline |
Definition at line 153 of file itkLabelToRGBFunctor.h.
|
inline |
Definition at line 113 of file itkLabelToRGBFunctor.h.
|
inline |
Definition at line 161 of file itkLabelToRGBFunctor.h.
|
inline |
Definition at line 142 of file itkLabelToRGBFunctor.h.
|
inline |
Definition at line 171 of file itkLabelToRGBFunctor.h.
|
inline |
Definition at line 166 of file itkLabelToRGBFunctor.h.
TRGBPixel itk::Functor::LabelToRGBFunctor< TLabel, TRGBPixel >::m_BackgroundColor |
Definition at line 180 of file itkLabelToRGBFunctor.h.
Referenced by itk::Functor::LabelToRGBFunctor< TLabelImage::PixelType, TOutputImage::PixelType >::LabelToRGBFunctor(), itk::Functor::LabelToRGBFunctor< TLabelImage::PixelType, TOutputImage::PixelType >::operator!=(), itk::Functor::LabelToRGBFunctor< TLabelImage::PixelType, TOutputImage::PixelType >::operator()(), and itk::Functor::LabelToRGBFunctor< TLabelImage::PixelType, TOutputImage::PixelType >::SetBackgroundColor().
TLabel itk::Functor::LabelToRGBFunctor< TLabel, TRGBPixel >::m_BackgroundValue |
Definition at line 182 of file itkLabelToRGBFunctor.h.
Referenced by itk::Functor::LabelToRGBFunctor< TLabelImage::PixelType, TOutputImage::PixelType >::LabelToRGBFunctor(), itk::Functor::LabelToRGBFunctor< TLabelImage::PixelType, TOutputImage::PixelType >::operator!=(), itk::Functor::LabelToRGBFunctor< TLabelImage::PixelType, TOutputImage::PixelType >::operator()(), and itk::Functor::LabelToRGBFunctor< TLabelImage::PixelType, TOutputImage::PixelType >::SetBackgroundValue().
std::vector< TRGBPixel > itk::Functor::LabelToRGBFunctor< TLabel, TRGBPixel >::m_Colors |
Definition at line 178 of file itkLabelToRGBFunctor.h.
Referenced by itk::Functor::LabelToRGBFunctor< TLabelImage::PixelType, TOutputImage::PixelType >::AddColor(), itk::Functor::LabelToRGBFunctor< TLabelImage::PixelType, TOutputImage::PixelType >::GetNumberOfColors(), itk::Functor::LabelToRGBFunctor< TLabelImage::PixelType, TOutputImage::PixelType >::operator()(), and itk::Functor::LabelToRGBFunctor< TLabelImage::PixelType, TOutputImage::PixelType >::ResetColors().