public class SoDecorrelationStretchProcessing2d extends SoImageVizEngine
SoDecorrelationStretchProcessing2d engine
The SoDecorrelationStretchProcessing2d engine enhances the color differences found in a color image.
This engine maximizes (stretches) the difference between different bands of data, by trying to remove the inter-bands correlation found in the input pixels. By using Eigen vectors and covariance matrix, the data is "rotated" into a new space where the values are then maximized, and returned to the original space.
The transformation matrix T applied at each pixel is composed from a rotation matrix R and a stretching vector
:
where
denotes the matrix of eigenvectors and
is formed by taking the reciprocal of the square root of each element in the eigenvalue vector and by multiplying it by the desired standard deviation for the output image bands.
The SoDecorrelationStretchProcessing2d is a process that is usually used to enhance the color differences found in a color image. The input image may reach the two following conditions:
See also:
SoColorAntialiasingProcessing2d.
File format/default:
DecorrelationStretchProcessing2d {
| inColorImage | NULL |
Library references: decorrelstrech
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3dsInventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoSFImageDataAdapter |
inColorImage
The input color image.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outColorImage
The output color image.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgressVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoDecorrelationStretchProcessing2d()
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 inColorImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outColorImage
Generated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com