Class LabelToRGBImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.LabelToRGBImageFilter
Apply a colormap to a label image.
Apply a colormap to a label image. The set of colors is a good
selection of distinct colors. The user can choose to use a background
value. In that case, a gray pixel with the same intensity than the
background label is produced.
This code was contributed in the Insight Journal paper: "The
watershed transform in ITK - discussion and new developments" by
Beare R., Lehmann G. https://doi.org/10.54294/lf8u75
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA
de Jouy-en-Josas, France.
Richard Beare. Department of Medicine, Monash University, Melbourne,
Australia.
See:
 LabelOverlayImageFilter
 LabelMapToRGBImageFilter , LabelToRGBFunctor, ScalarToRGBPixelFunctor
 itk::simple::LabelToRGB for the procedural interface
 itk::LabelToRGBImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkLabelToRGBImageFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::LabelToRGBImageFilter::LabelToRGBImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedLabelToRGBImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::LabelToRGBImageFilter::~LabelToRGBImageFilter() DestructorImage itk::simple::LabelToRGBImageFilter::Execute(Image &&image1) Execute the filter on the input imageprotected voidfinalize()doubledouble itk::simple::LabelToRGBImageFilter::GetBackgroundValue() const Set/Get the background valuestd::vector<uint8_t> itk::simple::LabelToRGBImageFilter::GetColormap() constprotected static longgetName()std::string itk::simple::LabelToRGBImageFilter::GetName() const Name of this classvoidsetBackgroundValue(double BackgroundValue) Self& itk::simple::LabelToRGBImageFilter::SetBackgroundValue(double BackgroundValue) Set/Get the background valuevoidsetColormap(VectorUInt8 Colormap) Self& itk::simple::LabelToRGBImageFilter::SetColormap(std::vector< uint8_t > Colormap)protected static longtoString()std::string itk::simple::LabelToRGBImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFiltergetCPtr, swigReleaseMethods inherited from class org.itk.simple.ProcessObjectabort, addCommand, debugOff, debugOn, getCPtr, getDebug, getGlobalDefaultCoordinateTolerance, getGlobalDefaultDebug, getGlobalDefaultDirectionTolerance, getGlobalDefaultNumberOfThreads, getGlobalDefaultThreader, getGlobalWarningDisplay, getNumberOfThreads, getNumberOfWorkUnits, getProgress, globalDefaultDebugOff, globalDefaultDebugOn, globalWarningDisplayOff, globalWarningDisplayOn, hasCommand, removeAllCommands, setDebug, setGlobalDefaultCoordinateTolerance, setGlobalDefaultDebug, setGlobalDefaultDirectionTolerance, setGlobalDefaultNumberOfThreads, setGlobalDefaultThreader, setGlobalWarningDisplay, setNumberOfThreads, setNumberOfWorkUnits, swigRelease
- 
Constructor Details- 
LabelToRGBImageFilterprotected LabelToRGBImageFilter(long cPtr, boolean cMemoryOwn) 
- 
LabelToRGBImageFilterpublic LabelToRGBImageFilter()itk::simple::LabelToRGBImageFilter::LabelToRGBImageFilter() Default Constructor that takes no arguments and initializes default parameters
 
- 
- 
Method Details- 
getCPtr
- 
swigRelease
- 
finalizeprotected void finalize()- Overrides:
- finalizein class- ImageFilter
 
- 
deletepublic void delete()virtual itk::simple::LabelToRGBImageFilter::~LabelToRGBImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setBackgroundValuepublic void setBackgroundValue(double BackgroundValue) Self& itk::simple::LabelToRGBImageFilter::SetBackgroundValue(double BackgroundValue) Set/Get the background value
- 
getBackgroundValuepublic double getBackgroundValue()double itk::simple::LabelToRGBImageFilter::GetBackgroundValue() const Set/Get the background value
- 
setColormapSelf& itk::simple::LabelToRGBImageFilter::SetColormap(std::vector< uint8_t > Colormap)
- 
getColormapstd::vector<uint8_t> itk::simple::LabelToRGBImageFilter::GetColormap() const
- 
getNamestd::string itk::simple::LabelToRGBImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::LabelToRGBImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-