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 Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn -
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::SimpleContourExtractorImageFilter::SimpleContourExtractorImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedSimpleContourExtractorImageFilter(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier 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.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
-
SimpleContourExtractorImageFilter
protected SimpleContourExtractorImageFilter(long cPtr, boolean cMemoryOwn) -
SimpleContourExtractorImageFilter
public SimpleContourExtractorImageFilter()itk::simple::SimpleContourExtractorImageFilter::SimpleContourExtractorImageFilter() 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::SimpleContourExtractorImageFilter::~SimpleContourExtractorImageFilter() Destructor- Overrides:
deletein classImageFilter
-
setInputForegroundValue
public 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. -
getInputForegroundValue
public double getInputForegroundValue()double itk::simple::SimpleContourExtractorImageFilter::GetInputForegroundValue() const Get the foreground value used in order to identify a foreground pixel in the input image. -
setInputBackgroundValue
public 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. -
getInputBackgroundValue
public double getInputBackgroundValue()double itk::simple::SimpleContourExtractorImageFilter::GetInputBackgroundValue() const Get the background value used in order to identify a background pixel in the input image. -
setRadius
Self& itk::simple::SimpleContourExtractorImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to value -
setRadius
public void setRadius(long value) Self& itk::simple::SimpleContourExtractorImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to value -
getRadius
std::vector<unsigned int> itk::simple::SimpleContourExtractorImageFilter::GetRadius() const -
setOutputForegroundValue
public 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. -
getOutputForegroundValue
public double getOutputForegroundValue()double itk::simple::SimpleContourExtractorImageFilter::GetOutputForegroundValue() const Get the foreground value used in order to identify a foreground pixel in the output image. -
setOutputBackgroundValue
public 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. -
getOutputBackgroundValue
public double getOutputBackgroundValue()double itk::simple::SimpleContourExtractorImageFilter::GetOutputBackgroundValue() const Get the background value used in order to identify a background pixel in the output image. -
getName
std::string itk::simple::SimpleContourExtractorImageFilter::GetName() const Name of this class- Overrides:
getNamein classProcessObject
-
toString
std::string itk::simple::SimpleContourExtractorImageFilter::ToString() const Print ourselves out- Overrides:
toStringin classProcessObject
-
execute
-