public class SoCooccurrenceQuantification2d extends SoImageVizEngine
SoCooccurrenceQuantification2d engine provides texture indicators based on the co-occurrence matrix computation.
The SoCooccurrenceQuantification2d engine provides some information concerning the texture thanks to the computation of a co-occurrence matrix. This command allow s to classify, given a direction
, pairs of pixels by their gray level. The co-occurrence matrix components are given by :
Where
is the image graylevel for
coordinates.
,
contains the number of pixels verifying
and
.
This matrix is made symmetric and normalized such as :
These operations allow to be independent to the image size and to hold properties on a direction and its symmetric. Thirteen indicators are computed from this matrix :
where :
where HX and HY are entropies of px and py such as :
and 

In addition this engine returns one more information in the result object which is the number of image pixels used for computation.
Haralick R., Shanmugam K. & Dinstein I. "Textural features for image classification." IEEE Transactions on Systems, Man, and Cybernetics. Vol 3, No 6, pp 610-621, October 1973.
File format/default:
CooccurrenceQuantification2d {
| inImage | NULL |
| inMaskImage | NULL |
| offsetX | 1 |
| offsetY | 0 |
Library references: cooccurrence
| Modifier and Type | Class and Description |
|---|---|
static class |
SoCooccurrenceQuantification2d.SbCoocurrrenceDetail
Results details of cooccurrence global measure.
|
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3dsInventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoSFImageDataAdapter |
inImage
The input image.
|
SoSFImageDataAdapter |
inMaskImage
The binary image for the mask or empty (command looks for only inside).
|
SoSFInt32 |
offsetX
The X Offset.
|
SoSFInt32 |
offsetY
The Y Offset.
|
SoImageVizEngineAnalysisOutput<SoCooccurrenceQuantification2d.SbCoocurrrenceDetail> |
outResult
The output measure result.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgressVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoCooccurrenceQuantification2d()
Constructor.
|
abortEvaluate, isEvaluating, startEvaluate, waitEvaluatecopy, getByName, getOutput, getOutputNamecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable, touchgetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic final SoSFImageDataAdapter inImage
public final SoSFImageDataAdapter inMaskImage
public final SoSFInt32 offsetX
public final SoSFInt32 offsetY
public final SoImageVizEngineAnalysisOutput<SoCooccurrenceQuantification2d.SbCoocurrrenceDetail> outResult
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com