 SoAutoSegmentation3PhasesProcessing image filter  
More...
  SoAutoSegmentation3PhasesProcessing image filter  
More...
#include <ImageViz/Engines/ImageSegmentation/Labeling/SoAutoSegmentation3PhasesProcessing.h>
 
  
 | Classes | |
| class | SbAutoSegmentation3PhasesDetail | 
| Results details of threshold by automatic segmentation.  More... | |
| Public Types | |
| enum | ThresholdCriterion { ENTROPY = 0, FACTORISATION = 1, MOMENTS = 2 } | 
| Public Member Functions | |
| SoAutoSegmentation3PhasesProcessing () | |
| Public Attributes | |
| SoSFEnum | computeMode | 
| SoSFImageDataAdapter | inGrayImage | 
| SoSFVec2i32 | intensityRangeInput | 
| SoSFEnum | thresholdCriterion | 
| SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outLabelImage | 
| SoImageVizEngineAnalysisOutput < SbAutoSegmentation3PhasesDetail > | outResult | 
 SoAutoSegmentation3PhasesProcessing image filter
  SoAutoSegmentation3PhasesProcessing image filter 
SoAutoSegmentation3PhasesProcessing performs a 2-level segmentation based on a specified algorithm.
This engine computes an automatic segmentation on a grayscale image, separating the image in 3 classes of pixels. Three methods of classification are available: Entropy, Factorisation or Moments. The computed thresholds are provided in the SbAutoSegmentation3PhasesDetail object. Please refer to SoAutoThresholdingProcessing description for more information about the classification methods.
The output is a label image with 2 non-zero levels.
See also: SoAdaptiveThresholdingProcessing.
| computeMode | MODE_AUTO | 
| inGrayImage | NULL | 
| intensityRangeInput | 0 255 | 
| thresholdCriterion | ENTROPY | 
The criterion to detect thresholds on histogram.
| SoAutoSegmentation3PhasesProcessing::SoAutoSegmentation3PhasesProcessing | ( | ) | 
Constructor.
Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.
Default is MODE_AUTO
The input grayscale image.
Default value is NULL. Supported types include: grayscale image.
The input intensity range.
Default value is SbVec2i32(0,255).
| SoImageVizEngineOutput<SoSFImageDataAdapter, SoImageDataAdapter*> SoAutoSegmentation3PhasesProcessing::outLabelImage | 
The output image.
Default value is NULL. Supported types include: label image.
| SoImageVizEngineAnalysisOutput<SbAutoSegmentation3PhasesDetail> SoAutoSegmentation3PhasesProcessing::outResult | 
The thresholding results.
Default value is NULL.
The criterion to detect thresholds on histogram.
Use enum ThresholdCriterion. Default is ENTROPY