ITK
5.2.0
Insight Toolkit
|
#include <itkLabelOverlayFunctor.h>
Public Types | |
using | ComponentType = typename TRGBPixel::ComponentType |
Public Member Functions | |
void | AddColor (unsigned char r, unsigned char g, unsigned char b) |
unsigned int | GetNumberOfColors () const |
LabelOverlayFunctor () | |
bool | operator!= (const LabelOverlayFunctor &l) const |
TRGBPixel | operator() (const TInputPixel &p1, const TLabel &p2) const |
bool | operator== (const LabelOverlayFunctor &l) const |
void | ResetColors () |
void | SetBackgroundValue (TLabel v) |
void | SetOpacity (double opacity) |
~LabelOverlayFunctor ()=default | |
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. https://www.insight-journal.org/browse/publication/92
Definition at line 48 of file itkLabelOverlayFunctor.h.
using itk::Functor::LabelOverlayFunctor< TInputPixel, TLabel, TRGBPixel >::ComponentType = typename TRGBPixel::ComponentType |
type of the color component
Definition at line 133 of file itkLabelOverlayFunctor.h.
|
inline |
Definition at line 51 of file itkLabelOverlayFunctor.h.
|
default |
|
inline |
Definition at line 136 of file itkLabelOverlayFunctor.h.
|
inline |
Definition at line 127 of file itkLabelOverlayFunctor.h.
|
inline |
Definition at line 92 of file itkLabelOverlayFunctor.h.
|
inline |
Definition at line 62 of file itkLabelOverlayFunctor.h.
|
inline |
Definition at line 100 of file itkLabelOverlayFunctor.h.
|
inline |
Definition at line 121 of file itkLabelOverlayFunctor.h.
|
inline |
Definition at line 114 of file itkLabelOverlayFunctor.h.
|
inline |
Definition at line 108 of file itkLabelOverlayFunctor.h.
|
private |
Definition at line 144 of file itkLabelOverlayFunctor.h.
Referenced by itk::Functor::LabelOverlayFunctor< FeatureImagePixelType, LabelMapPixelType, OutputImagePixelType >::LabelOverlayFunctor(), itk::Functor::LabelOverlayFunctor< FeatureImagePixelType, LabelMapPixelType, OutputImagePixelType >::operator!=(), itk::Functor::LabelOverlayFunctor< FeatureImagePixelType, LabelMapPixelType, OutputImagePixelType >::operator()(), and itk::Functor::LabelOverlayFunctor< FeatureImagePixelType, LabelMapPixelType, OutputImagePixelType >::SetBackgroundValue().
|
private |
Definition at line 143 of file itkLabelOverlayFunctor.h.
Referenced by itk::Functor::LabelOverlayFunctor< FeatureImagePixelType, LabelMapPixelType, OutputImagePixelType >::LabelOverlayFunctor(), itk::Functor::LabelOverlayFunctor< FeatureImagePixelType, LabelMapPixelType, OutputImagePixelType >::operator!=(), itk::Functor::LabelOverlayFunctor< FeatureImagePixelType, LabelMapPixelType, OutputImagePixelType >::operator()(), and itk::Functor::LabelOverlayFunctor< FeatureImagePixelType, LabelMapPixelType, OutputImagePixelType >::SetOpacity().
|
private |
Definition at line 146 of file itkLabelOverlayFunctor.h.
Referenced by itk::Functor::LabelOverlayFunctor< FeatureImagePixelType, LabelMapPixelType, OutputImagePixelType >::AddColor(), itk::Functor::LabelOverlayFunctor< FeatureImagePixelType, LabelMapPixelType, OutputImagePixelType >::GetNumberOfColors(), itk::Functor::LabelOverlayFunctor< FeatureImagePixelType, LabelMapPixelType, OutputImagePixelType >::operator!=(), itk::Functor::LabelOverlayFunctor< FeatureImagePixelType, LabelMapPixelType, OutputImagePixelType >::operator()(), itk::Functor::LabelOverlayFunctor< FeatureImagePixelType, LabelMapPixelType, OutputImagePixelType >::ResetColors(), and itk::Functor::LabelOverlayFunctor< FeatureImagePixelType, LabelMapPixelType, OutputImagePixelType >::SetBackgroundValue().