SoDecorrelationStretchProcessing2d engine More...
#include <ImageViz/Engines/ImageFiltering/ColorTransforms/SoDecorrelationStretchProcessing2d.h>
Public Member Functions | |
SoDecorrelationStretchProcessing2d () | |
Public Attributes | |
SoSFImageDataAdapter | inColorImage |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outColorImage |
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:
SoColorAntialiasingProcessing2d.
inColorImage | NULL |
SoDecorrelationStretchProcessing2d::SoDecorrelationStretchProcessing2d | ( | ) |
Constructor.
The input color image.
Default value is NULL. Supported types include: color image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoDecorrelationStretchProcessing2d::outColorImage |
The output color image.
Default value is NULL. Supported types include: grayscale binary label color image.