SoIntensityHistogramQuantification engine More...
#include <ImageViz/Engines/ImageAnalysis/GlobalMeasures/SoIntensityHistogramQuantification.h>
Classes | |
class | SbIntensityHistogramDetail |
Results details of SoIntensityHistogramQuantification. More... | |
Public Types | |
enum | RangeMode { MIN_MAX = 0, OTHER = 1 } |
Public Member Functions | |
SoIntensityHistogramQuantification () | |
Public Attributes | |
SoSFImageDataAdapter | inImage |
SoSFEnum | rangeMode |
SoSFVec2i32 | intensityRangeInput |
SoImageVizEngineAnalysisOutput < SbIntensityHistogramDetail > | outResult |
This engine computes the histogram of a gray level image. For each gray level i of the input image, the number of pixels with intensity i is computed.
Note: After the engine executes, the outResult field contains multiple instances of SbIntensityHistogramDetail, one for each bin of the histogram. Get the number of bins by calling the getNumDetails() method on the outResult field.
See example: $OIVHOME/examples/source/ImageViz/ResultsDisplay/ImageHistogram
SoIntensityBinHistogramQuantification.
inImage | NULL |
rangeMode | MIN_MAX |
intensityRangeInput | 0 255 |
SoIntensityHistogramQuantification::SoIntensityHistogramQuantification | ( | ) |
Constructor.
The input gray scale image.
Default value is NULL. Supported types include: grayscale binary label image.
The minimal and maximal value of the histogram when the rangeMode field is set to OTHER.
This field is unused if rangeMode is set to MIN_MAX. Default value is SbVec2i32(0,255).
SoImageVizEngineAnalysisOutput<SbIntensityHistogramDetail> SoIntensityHistogramQuantification::outResult |
The output histogram.
Default value is NULL.
This parameter defines if the histogram has to be computed between the minimum and maximum input intensities (MIN_MAX) or inside a predefined range (OTHER).
Use enum RangeMode. Default is MIN_MAX