Package org.itk.simple
Class AggregateLabelMapFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.AggregateLabelMapFilter
Collapses all labels into the first label.
This filter takes a label map as input and visits the pixels of all
labels and assigns them to the first label of the label map. At the
end of the execution of this filter, the map will contain a single
filter.
This implementation was taken from the Insight Journal paper: https://www.insight-journal.org/browse/publication/176
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA
de Jouy-en-Josas, France.
See:
ShapeLabelObject , RelabelComponentImageFilter
itk::simple::AggregateLabelMapFilter for the procedural interface
itk::AggregateLabelMapFilter for the Doxygen on the original ITK class.
C++ includes: sitkAggregateLabelMapFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::AggregateLabelMapFilter::AggregateLabelMapFilter() Default Constructor that takes no arguments and initializes default parametersprotected
AggregateLabelMapFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::AggregateLabelMapFilter::~AggregateLabelMapFilter() DestructorImage itk::simple::AggregateLabelMapFilter::Execute(Image &&image1) Execute the filter on the input imageprotected void
finalize()
protected static long
getName()
std::string itk::simple::AggregateLabelMapFilter::GetName() const Name of this classprotected static long
toString()
std::string itk::simple::AggregateLabelMapFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFilter
getCPtr, swigRelease
Methods inherited from class org.itk.simple.ProcessObject
abort, 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
-
AggregateLabelMapFilter
protected AggregateLabelMapFilter(long cPtr, boolean cMemoryOwn) -
AggregateLabelMapFilter
public AggregateLabelMapFilter()itk::simple::AggregateLabelMapFilter::AggregateLabelMapFilter() Default Constructor that takes no arguments and initializes default parameters
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalize
in classImageFilter
-
delete
public void delete()virtual itk::simple::AggregateLabelMapFilter::~AggregateLabelMapFilter() Destructor- Overrides:
delete
in classImageFilter
-
getName
std::string itk::simple::AggregateLabelMapFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::AggregateLabelMapFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::AggregateLabelMapFilter::Execute(Image &&image1) Execute the filter on the input image
-