Class SoDecorrelationStretchProcessing2d
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.engines.SoEngine
-
- com.openinventor.imageviz.engines.SoImageVizEngine
-
- com.openinventor.imageviz.engines.imagefiltering.colortransforms.SoDecorrelationStretchProcessing2d
-
- All Implemented Interfaces:
SafeDisposable
@Deprecated(since="2023.2") public class SoDecorrelationStretchProcessing2d extends SoImageVizEngine
Deprecated.As of Open Inventor 2023.2. ImageViz API is replaced by the new ImageDev toolkit.SoDecorrelationStretchProcessing2d
engine. TheSoDecorrelationStretchProcessing2d
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:- In one band, at least one pixel value has to be different of the other pixels values,
- The value at each pixel in one band cannot be a linear combination of the pixel values of the other bands.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoSFImageDataAdapter
inColorImage
Deprecated.The input color image.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outColorImage
Deprecated.The output color image.-
Fields inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
onBegin, onEnd, onProgress
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoDecorrelationStretchProcessing2d()
Deprecated.Constructor.
-
Method Summary
-
Methods inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
abortEvaluate, isEvaluating, startEvaluate, waitEvaluate
-
Methods inherited from class com.openinventor.inventor.engines.SoEngine
copy, getByName, getOutput, getOutputName
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Field Detail
-
inColorImage
public final SoSFImageDataAdapter inColorImage
Deprecated.The input color image. Default value is NULL. Supported types include: color image.
-
outColorImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outColorImage
Deprecated.The output color image. Default value is NULL. Supported types include: grayscale binary label color image.
-
-