Class LabelContourImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.LabelContourImageFilter
Labels the pixels on the border of the objects in a labeled image.
LabelContourImageFilter takes a labeled image as input, where the pixels in the objects are
the pixels with a value different of the BackgroundValue. Only the
pixels on the contours of the objects are kept. The pixels not on the
border are changed to BackgroundValue. The labels of the object are
the same in the input and in the output image.
The connectivity can be changed to minimum or maximum connectivity
with SetFullyConnected() . Full connectivity produces thicker contours.
https://doi.org/10.54294/c7d3gv
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA
de Jouy-en-Josas, France.
See:
BinaryContourImageFilter
itk::simple::LabelContour for the procedural interface
itk::LabelContourImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkLabelContourImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn -
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::LabelContourImageFilter::LabelContourImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedLabelContourImageFilter(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::LabelContourImageFilter::~LabelContourImageFilter() DestructorImage itk::simple::LabelContourImageFilter::Execute(Image &&image1) Execute the filter on the input imageprotected voidfinalize()voidSelf& itk::simple::LabelContourImageFilter::FullyConnectedOff()voidSelf& itk::simple::LabelContourImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully.doubledouble itk::simple::LabelContourImageFilter::GetBackgroundValue() const Set/Get the background value used to identify the objects and mark the pixels not on the border of the objects.protected static longbooleanbool itk::simple::LabelContourImageFilter::GetFullyConnected() const Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity.getName()std::string itk::simple::LabelContourImageFilter::GetName() const Name of this classvoidsetBackgroundValue(double BackgroundValue) Self& itk::simple::LabelContourImageFilter::SetBackgroundValue(double BackgroundValue) Set/Get the background value used to identify the objects and mark the pixels not on the border of the objects.voidsetFullyConnected(boolean FullyConnected) Self& itk::simple::LabelContourImageFilter::SetFullyConnected(bool FullyConnected) Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity.protected static longtoString()std::string itk::simple::LabelContourImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFilter
getCPtr, swigReleaseMethods 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
-
LabelContourImageFilter
protected LabelContourImageFilter(long cPtr, boolean cMemoryOwn) -
LabelContourImageFilter
public LabelContourImageFilter()itk::simple::LabelContourImageFilter::LabelContourImageFilter() Default Constructor that takes no arguments and initializes default parameters
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalizein classImageFilter
-
delete
public void delete()virtual itk::simple::LabelContourImageFilter::~LabelContourImageFilter() Destructor- Overrides:
deletein classImageFilter
-
setFullyConnected
public void setFullyConnected(boolean FullyConnected) Self& itk::simple::LabelContourImageFilter::SetFullyConnected(bool FullyConnected) Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn. -
fullyConnectedOn
public void fullyConnectedOn()Self& itk::simple::LabelContourImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully. -
fullyConnectedOff
public void fullyConnectedOff()Self& itk::simple::LabelContourImageFilter::FullyConnectedOff() -
getFullyConnected
public boolean getFullyConnected()bool itk::simple::LabelContourImageFilter::GetFullyConnected() const Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn. -
setBackgroundValue
public void setBackgroundValue(double BackgroundValue) Self& itk::simple::LabelContourImageFilter::SetBackgroundValue(double BackgroundValue) Set/Get the background value used to identify the objects and mark the pixels not on the border of the objects. -
getBackgroundValue
public double getBackgroundValue()double itk::simple::LabelContourImageFilter::GetBackgroundValue() const Set/Get the background value used to identify the objects and mark the pixels not on the border of the objects. -
getName
std::string itk::simple::LabelContourImageFilter::GetName() const Name of this class- Overrides:
getNamein classProcessObject
-
toString
std::string itk::simple::LabelContourImageFilter::ToString() const Print ourselves out- Overrides:
toStringin classProcessObject
-
execute
-