Class SimpleContourExtractorImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.SimpleContourExtractorImageFilter
Computes an image of contours which will be the contour of the first
image.
A pixel of the source image is considered to belong to the contour if
its pixel value is equal to the input foreground value and it has in
its neighborhood at least one pixel which its pixel value is equal to
the input background value. The output image will have pixels which
will be set to the output foreground value if they belong to the
contour, otherwise they will be set to the output background value.
The neighborhood "radius" is set thanks to the radius params.
See:
 Image
 Neighborhood
 NeighborhoodOperator
 NeighborhoodIterator
 itk::simple::SimpleContourExtractor for the procedural interface
 itk::SimpleContourExtractorImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkSimpleContourExtractorImageFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::SimpleContourExtractorImageFilter::SimpleContourExtractorImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedSimpleContourExtractorImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::SimpleContourExtractorImageFilter::~SimpleContourExtractorImageFilter() DestructorImage itk::simple::SimpleContourExtractorImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()protected static longdoubledouble itk::simple::SimpleContourExtractorImageFilter::GetInputBackgroundValue() const Get the background value used in order to identify a background pixel in the input image.doubledouble itk::simple::SimpleContourExtractorImageFilter::GetInputForegroundValue() const Get the foreground value used in order to identify a foreground pixel in the input image.getName()std::string itk::simple::SimpleContourExtractorImageFilter::GetName() const Name of this classdoubledouble itk::simple::SimpleContourExtractorImageFilter::GetOutputBackgroundValue() const Get the background value used in order to identify a background pixel in the output image.doubledouble itk::simple::SimpleContourExtractorImageFilter::GetOutputForegroundValue() const Get the foreground value used in order to identify a foreground pixel in the output image.std::vector<unsigned int> itk::simple::SimpleContourExtractorImageFilter::GetRadius() constvoidsetInputBackgroundValue(double InputBackgroundValue) Self& itk::simple::SimpleContourExtractorImageFilter::SetInputBackgroundValue(double InputBackgroundValue) Set the background value used in order to identify a background pixel in the input image.voidsetInputForegroundValue(double InputForegroundValue) Self& itk::simple::SimpleContourExtractorImageFilter::SetInputForegroundValue(double InputForegroundValue) Set the foreground value used in order to identify a foreground pixel in the input image.voidsetOutputBackgroundValue(double OutputBackgroundValue) Self& itk::simple::SimpleContourExtractorImageFilter::SetOutputBackgroundValue(double OutputBackgroundValue) Set the background value used in order to identify a background pixel in the output image.voidsetOutputForegroundValue(double OutputForegroundValue) Self& itk::simple::SimpleContourExtractorImageFilter::SetOutputForegroundValue(double OutputForegroundValue) Set the foreground value used in order to identify a foreground pixel in the output image.voidsetRadius(long value) Self& itk::simple::SimpleContourExtractorImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to valuevoidsetRadius(VectorUInt32 Radius) Self& itk::simple::SimpleContourExtractorImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to valueprotected static longtoString()std::string itk::simple::SimpleContourExtractorImageFilter::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- 
SimpleContourExtractorImageFilterprotected SimpleContourExtractorImageFilter(long cPtr, boolean cMemoryOwn) 
- 
SimpleContourExtractorImageFilterpublic SimpleContourExtractorImageFilter()itk::simple::SimpleContourExtractorImageFilter::SimpleContourExtractorImageFilter() 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::SimpleContourExtractorImageFilter::~SimpleContourExtractorImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setInputForegroundValuepublic void setInputForegroundValue(double InputForegroundValue) Self& itk::simple::SimpleContourExtractorImageFilter::SetInputForegroundValue(double InputForegroundValue) Set the foreground value used in order to identify a foreground pixel in the input image.
- 
getInputForegroundValuepublic double getInputForegroundValue()double itk::simple::SimpleContourExtractorImageFilter::GetInputForegroundValue() const Get the foreground value used in order to identify a foreground pixel in the input image.
- 
setInputBackgroundValuepublic void setInputBackgroundValue(double InputBackgroundValue) Self& itk::simple::SimpleContourExtractorImageFilter::SetInputBackgroundValue(double InputBackgroundValue) Set the background value used in order to identify a background pixel in the input image.
- 
getInputBackgroundValuepublic double getInputBackgroundValue()double itk::simple::SimpleContourExtractorImageFilter::GetInputBackgroundValue() const Get the background value used in order to identify a background pixel in the input image.
- 
setRadiusSelf& itk::simple::SimpleContourExtractorImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to value
- 
setRadiuspublic void setRadius(long value) Self& itk::simple::SimpleContourExtractorImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to value
- 
getRadiusstd::vector<unsigned int> itk::simple::SimpleContourExtractorImageFilter::GetRadius() const
- 
setOutputForegroundValuepublic void setOutputForegroundValue(double OutputForegroundValue) Self& itk::simple::SimpleContourExtractorImageFilter::SetOutputForegroundValue(double OutputForegroundValue) Set the foreground value used in order to identify a foreground pixel in the output image.
- 
getOutputForegroundValuepublic double getOutputForegroundValue()double itk::simple::SimpleContourExtractorImageFilter::GetOutputForegroundValue() const Get the foreground value used in order to identify a foreground pixel in the output image.
- 
setOutputBackgroundValuepublic void setOutputBackgroundValue(double OutputBackgroundValue) Self& itk::simple::SimpleContourExtractorImageFilter::SetOutputBackgroundValue(double OutputBackgroundValue) Set the background value used in order to identify a background pixel in the output image.
- 
getOutputBackgroundValuepublic double getOutputBackgroundValue()double itk::simple::SimpleContourExtractorImageFilter::GetOutputBackgroundValue() const Get the background value used in order to identify a background pixel in the output image.
- 
getNamestd::string itk::simple::SimpleContourExtractorImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::SimpleContourExtractorImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-