SoColorGetPlaneProcessing2d engine More...
#include <ImageViz/Engines/ImageFiltering/ColorTransforms/SoColorGetPlaneProcessing2d.h>
Public Member Functions | |
SoColorGetPlaneProcessing2d () | |
Public Attributes | |
SoSFImageDataAdapter | inColorImage |
SoSFInt32 | planeIndex |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outGrayImage |
For an introduction to color transforms, see section Color Transforms.
The SoColorGetPlaneProcessing2d engine extracts a given plane from any color image (RGB, HIS, multisource, ....) into a grayscale image.
See also: SoGrayscaleToRgbProcessing, SoRgbToGrayscaleProcessing.
inColorImage | NULL |
planeIndex | 0 |
SoColorGetPlaneProcessing2d::SoColorGetPlaneProcessing2d | ( | ) |
Constructor.
The input color image.
Default value is NULL. Supported types include: color image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoColorGetPlaneProcessing2d::outGrayImage |
The output grayscale image representing the extracted plane.
Default value is NULL. Supported types include: grayscale binary label image.
The index of plane to extract.RGB case: 0 for Red, 1 for Green, 2 for Blue.
Default value is 0.