Class ChangeLabelLabelMapFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.ChangeLabelLabelMapFilter
Replace the label Ids of selected LabelObjects with new label Ids.
This filter takes as input a label map and a list of pairs of Label Ids, to produce as output a new label map where the label Ids have
been replaced according to the pairs in the list.
Labels that are relabeled to the same label Id are automatically
merged and optimized into a single LabelObject . The background label can also be changed. Any object relabeled to
the output background will automatically be removed.
This implementation was taken from the Insight Journal paper: https://doi.org/10.54294/q6auw4
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA
de Jouy-en-Josas, France.
See:
 ShapeLabelObject , RelabelComponentImageFilter , ChangeLabelImageFilter
 itk::simple::ChangeLabelLabelMapFilter for the procedural interface
 itk::ChangeLabelLabelMapFilter for the Doxygen on the original ITK class.
C++ includes: sitkChangeLabelLabelMapFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::ChangeLabelLabelMapFilter::ChangeLabelLabelMapFilter() Default Constructor that takes no arguments and initializes default parametersprotectedChangeLabelLabelMapFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::ChangeLabelLabelMapFilter::~ChangeLabelLabelMapFilter() DestructorImage itk::simple::ChangeLabelLabelMapFilter::Execute(Image &&image1) Execute the filter on the input imageprotected voidfinalize()std::map<double,double> itk::simple::ChangeLabelLabelMapFilter::GetChangeMap() constprotected static longgetName()std::string itk::simple::ChangeLabelLabelMapFilter::GetName() const Name of this classvoidsetChangeMap(DoubleDoubleMap ChangeMap) Self& itk::simple::ChangeLabelLabelMapFilter::SetChangeMap(std::map< double, double > ChangeMap)protected static longtoString()std::string itk::simple::ChangeLabelLabelMapFilter::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- 
ChangeLabelLabelMapFilterprotected ChangeLabelLabelMapFilter(long cPtr, boolean cMemoryOwn) 
- 
ChangeLabelLabelMapFilterpublic ChangeLabelLabelMapFilter()itk::simple::ChangeLabelLabelMapFilter::ChangeLabelLabelMapFilter() 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::ChangeLabelLabelMapFilter::~ChangeLabelLabelMapFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setChangeMapSelf& itk::simple::ChangeLabelLabelMapFilter::SetChangeMap(std::map< double, double > ChangeMap)
- 
getChangeMapstd::map<double,double> itk::simple::ChangeLabelLabelMapFilter::GetChangeMap() const
- 
getNamestd::string itk::simple::ChangeLabelLabelMapFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::ChangeLabelLabelMapFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-