ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#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 () |
Private Attributes | |
TLabel | m_BackgroundValue |
double | m_Opacity |
Functor::LabelToRGBFunctor < TLabel, TRGBPixel > | m_RGBFunctor |
Functor for applying a colormap to a label image and combine it with a grayscale image.
This functor class used internally by LabelOverlayImageFilter
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 47 of file itkLabelOverlayFunctor.h.
typedef TRGBPixel::ComponentType itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >::ComponentType |
type of the color component
Definition at line 118 of file itkLabelOverlayFunctor.h.
|
inline |
Definition at line 50 of file itkLabelOverlayFunctor.h.
|
inline |
Definition at line 94 of file itkLabelOverlayFunctor.h.
|
inline |
Definition at line 120 of file itkLabelOverlayFunctor.h.
|
inline |
Definition at line 112 of file itkLabelOverlayFunctor.h.
|
inline |
Definition at line 86 of file itkLabelOverlayFunctor.h.
|
inline |
Definition at line 58 of file itkLabelOverlayFunctor.h.
|
inline |
Definition at line 107 of file itkLabelOverlayFunctor.h.
|
inline |
Definition at line 101 of file itkLabelOverlayFunctor.h.
|
inline |
Definition at line 96 of file itkLabelOverlayFunctor.h.
|
private |
Definition at line 128 of file itkLabelOverlayFunctor.h.
Referenced by itk::Functor::LabelOverlayFunctor< TInputImage::PixelType, TLabelImage::PixelType, TOutputImage::PixelType >::LabelOverlayFunctor(), itk::Functor::LabelOverlayFunctor< TInputImage::PixelType, TLabelImage::PixelType, TOutputImage::PixelType >::operator!=(), itk::Functor::LabelOverlayFunctor< TInputImage::PixelType, TLabelImage::PixelType, TOutputImage::PixelType >::operator()(), and itk::Functor::LabelOverlayFunctor< TInputImage::PixelType, TLabelImage::PixelType, TOutputImage::PixelType >::SetBackgroundValue().
|
private |
Definition at line 127 of file itkLabelOverlayFunctor.h.
Referenced by itk::Functor::LabelOverlayFunctor< TInputImage::PixelType, TLabelImage::PixelType, TOutputImage::PixelType >::operator!=(), itk::Functor::LabelOverlayFunctor< TInputImage::PixelType, TLabelImage::PixelType, TOutputImage::PixelType >::operator()(), and itk::Functor::LabelOverlayFunctor< TInputImage::PixelType, TLabelImage::PixelType, TOutputImage::PixelType >::SetOpacity().
|
private |
Definition at line 130 of file itkLabelOverlayFunctor.h.
Referenced by itk::Functor::LabelOverlayFunctor< TInputImage::PixelType, TLabelImage::PixelType, TOutputImage::PixelType >::AddColor(), itk::Functor::LabelOverlayFunctor< TInputImage::PixelType, TLabelImage::PixelType, TOutputImage::PixelType >::GetNumberOfColors(), itk::Functor::LabelOverlayFunctor< TInputImage::PixelType, TLabelImage::PixelType, TOutputImage::PixelType >::operator()(), itk::Functor::LabelOverlayFunctor< TInputImage::PixelType, TLabelImage::PixelType, TOutputImage::PixelType >::ResetColors(), and itk::Functor::LabelOverlayFunctor< TInputImage::PixelType, TLabelImage::PixelType, TOutputImage::PixelType >::SetBackgroundValue().