InteractiveThresholding This example demonstrates how to use the
SoThresholdingProcessing to create, dynamically a binary image.
The engine's parameter can be set dynamically to get a real time rendering.
DESCRIPTION:
Segmentation is a very important step of an image processing chain. This is where objects to identify in the scene are isolated in a binary or label image.
The example shows how to create a binary image from an input grayscale image setting interactively the threshold values.
-
a grayscale image is loaded in an SoImageDataAdapter object,
-
the image is then give as input to threshold filter
-
User can change threshold value dynamically and see the result
SEE ALSO
SoVRImageDataReader, SbImageDataAdapterHelper, SoImageDataAdapter, SoThresholdingProcessing, SoFragmentShader, SoVolumeShader
SCREENSHOT:
FILES:
-
ImageViz/DisplayAndInteraction/InteractiveThresholding/InteractiveThresholding.cxx
NOTE: