Class BinaryContourImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.BinaryContourImageFilter
Labels the pixels on the border of the objects in a binary image.
BinaryContourImageFilter takes a binary image as input, where the pixels in the objects are
the pixels with a value equal to ForegroundValue. Only the pixels on
the contours of the objects are kept. The pixels not on the border are
changed to BackgroundValue.
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:
 LabelContourImageFilter BinaryErodeImageFilter SimpleContourExtractorImageFilter
 itk::simple::BinaryContour for the procedural interface
 itk::BinaryContourImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkBinaryContourImageFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::BinaryContourImageFilter::BinaryContourImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedBinaryContourImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::BinaryContourImageFilter::~BinaryContourImageFilter() DestructorImage itk::simple::BinaryContourImageFilter::Execute(Image &&image1) Execute the filter on the input imageprotected voidfinalize()voidSelf& itk::simple::BinaryContourImageFilter::FullyConnectedOff()voidSelf& itk::simple::BinaryContourImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully.doubledouble itk::simple::BinaryContourImageFilter::GetBackgroundValue() const Set/Get the background value used to mark the pixels not on the border of the objects.protected static longdoubledouble itk::simple::BinaryContourImageFilter::GetForegroundValue() const Set/Get the foreground value used to identify the objects in the input and output images.booleanbool itk::simple::BinaryContourImageFilter::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::BinaryContourImageFilter::GetName() const Name of this classvoidsetBackgroundValue(double BackgroundValue) Self& itk::simple::BinaryContourImageFilter::SetBackgroundValue(double BackgroundValue) Set/Get the background value used to mark the pixels not on the border of the objects.voidsetForegroundValue(double ForegroundValue) Self& itk::simple::BinaryContourImageFilter::SetForegroundValue(double ForegroundValue) Set/Get the foreground value used to identify the objects in the input and output images.voidsetFullyConnected(boolean FullyConnected) Self& itk::simple::BinaryContourImageFilter::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::BinaryContourImageFilter::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- 
BinaryContourImageFilterprotected BinaryContourImageFilter(long cPtr, boolean cMemoryOwn) 
- 
BinaryContourImageFilterpublic BinaryContourImageFilter()itk::simple::BinaryContourImageFilter::BinaryContourImageFilter() 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::BinaryContourImageFilter::~BinaryContourImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setFullyConnectedpublic void setFullyConnected(boolean FullyConnected) Self& itk::simple::BinaryContourImageFilter::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.
- 
fullyConnectedOnpublic void fullyConnectedOn()Self& itk::simple::BinaryContourImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully.
- 
fullyConnectedOffpublic void fullyConnectedOff()Self& itk::simple::BinaryContourImageFilter::FullyConnectedOff()
- 
getFullyConnectedpublic boolean getFullyConnected()bool itk::simple::BinaryContourImageFilter::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.
- 
setBackgroundValuepublic void setBackgroundValue(double BackgroundValue) Self& itk::simple::BinaryContourImageFilter::SetBackgroundValue(double BackgroundValue) Set/Get the background value used to mark the pixels not on the border of the objects.
- 
getBackgroundValuepublic double getBackgroundValue()double itk::simple::BinaryContourImageFilter::GetBackgroundValue() const Set/Get the background value used to mark the pixels not on the border of the objects.
- 
setForegroundValuepublic void setForegroundValue(double ForegroundValue) Self& itk::simple::BinaryContourImageFilter::SetForegroundValue(double ForegroundValue) Set/Get the foreground value used to identify the objects in the input and output images.
- 
getForegroundValuepublic double getForegroundValue()double itk::simple::BinaryContourImageFilter::GetForegroundValue() const Set/Get the foreground value used to identify the objects in the input and output images.
- 
getNamestd::string itk::simple::BinaryContourImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::BinaryContourImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-