public class SoGrayscaleCorrelationProcessing2d extends SoImageVizEngine
SoGrayscaleCorrelationProcessing2d
engine.
The SoGrayscaleCorrelationProcessing2d
image filter performs a correlation between a grey level image I and a grey level kernel K returning the correlation image O.
See Correlation for generalities.
Notations:
The different possibilities are presented below using a 1-D correlation between an image and kernel. In the image, the kernel appears 6 times with different contrast and luminosity.
The 6 examples show the kernel appearing with different contrast and luminosity.
The correlation is performed depending on SoGrayscaleCorrelationProcessing2d.CorrelationMode
.
In this mode, we have detected 3 of the 6 patterns matching the kernel. Only high luminosity patterns have been detected. The best matching is obtained for the high contrast and luminosity pattern.
In this mode, we have detected 2 of the 6 patterns matching the kernel. Only high contrast patterns have been detected. The confidence rate is the same for the two 2 patterns.
In this mode, we have detected the 2 patterns matching the kernel with the same confidence rate.
In this mode, we have detected the 6 patterns matching the kernel with the same confidence rate.
The correlation is performed depending on SoGrayscaleCorrelationProcessing2d.CorrelationMode
.
In this mode, we have detected 3 of the 6 patterns matching the kernel. Only similar luminosity patterns have been detected. The best matching is obtained with the similar contrast and luminosity pattern.
In this mode, we have detected 2 of the 6 patterns matching the kernel. Only similar contrast patterns have been detected. The confidence rate is the same for the 2 patterns.
In this mode, we have detected 3 of the 6 patterns matching the kernel. Only similar luminosity patterns have been detected. The confidence rate is the same for the 3 patterns.
In this mode, we have detected the 6 patterns matching the kernel with the same confidence rate.
The correlation is performed depending on SoGrayscaleCorrelationProcessing2d.CorrelationMode
.
is the sign change criterion performed on the difference image. It corresponds to the number of sign changes calculated on every line.
The object in the model and the object in the image have luminosity, contrast and noise differences. After normalization depending on the correlation type, the sign change criterion is applied on the difference image. The noise is supposed to be additive and zero mean. The statistical density function of the noise is supposed to be symmetrical. The best matching will correspond to the maximum number of sign changes.
This correlation gives very good results with big kernels. It was created for medical applications where images are often very noisy.
File format/default:
GrayscaleCorrelationProcessing2d {
correlationCriterion | MULTIPLY |
inGrayImage | NULL |
inKernelImage | NULL |
offsetMode | OFFSET_1 |
correlationMode | DIRECT |
Library references: dcorrel mcorrel scorrel
Modifier and Type | Class and Description |
---|---|
static class |
SoGrayscaleCorrelationProcessing2d.CorrelationCriterions
See Correlation.
|
static class |
SoGrayscaleCorrelationProcessing2d.CorrelationModes
See Correlation and for each
SoGrayscaleCorrelationProcessing2d.CorrelationCriterion . |
static class |
SoGrayscaleCorrelationProcessing2d.OffsetModes
This field is ignored in the multiply correlation mode.
|
static class |
SoGrayscaleCorrelationProcessing2d.SbCorrelationDetail
Results details of image correlation.
|
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFEnum<SoGrayscaleCorrelationProcessing2d.CorrelationCriterions> |
correlationCriterion
Select the correlation operator.
|
SoSFEnum<SoGrayscaleCorrelationProcessing2d.CorrelationModes> |
correlationMode
Select the normalization mode for correlation.
|
SoSFImageDataAdapter |
inGrayImage
The input grayscale image.
|
SoSFImageDataAdapter |
inKernelImage
The correlation kernel.
|
SoSFEnum<SoGrayscaleCorrelationProcessing2d.OffsetModes> |
offsetMode
Select the calculation offset (number of pixels).
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outMatchingImage
The output correlation image.
|
SoImageVizEngineAnalysisOutput<SoGrayscaleCorrelationProcessing2d.SbCorrelationDetail> |
outResult
The correlation matching results.
|
onBegin, onEnd, onProgress
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoGrayscaleCorrelationProcessing2d()
Constructor.
|
abortEvaluate, isEvaluating, startEvaluate, waitEvaluate
copy, getByName, getOutput, getOutputName
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
getNativeResourceHandle
public final SoSFEnum<SoGrayscaleCorrelationProcessing2d.CorrelationCriterions> correlationCriterion
public final SoSFImageDataAdapter inGrayImage
public final SoSFImageDataAdapter inKernelImage
public final SoSFEnum<SoGrayscaleCorrelationProcessing2d.OffsetModes> offsetMode
public final SoSFEnum<SoGrayscaleCorrelationProcessing2d.CorrelationModes> correlationMode
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outMatchingImage
public final SoImageVizEngineAnalysisOutput<SoGrayscaleCorrelationProcessing2d.SbCorrelationDetail> outResult
Generated on July 31, 2019, Copyright � Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com