SoColorToGrayscaleProcessing engine More...
#include <ImageViz/Engines/ImageFiltering/ColorTransforms/SoColorToGrayscaleProcessing.h>
Public Member Functions | |
SoColorToGrayscaleProcessing () | |
Public Attributes | |
SoSFEnum | computeMode |
SoSFImageDataAdapter | inColorImage |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outGrayImage1 |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outGrayImage2 |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outGrayImage3 |
For an introduction to color transforms, see section Color Transforms.
The SoColorToGrayscaleProcessing engine separates an RGB image into three grayscale output images.
See also: SoGrayscaleToColorProcessing, SoColorGetPlaneProcessing2d.
computeMode | MODE_AUTO |
inColorImage | NULL |
SoColorToGrayscaleProcessing::SoColorToGrayscaleProcessing | ( | ) |
Constructor.
Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.
Default is MODE_AUTO
The input color image.
Default value is NULL. Supported types include: color image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoColorToGrayscaleProcessing::outGrayImage1 |
The first plane output image.
Default value is NULL. Supported types include: grayscale binary label image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoColorToGrayscaleProcessing::outGrayImage2 |
The second plane output image.
Default value is NULL. Supported types include: grayscale binary label image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoColorToGrayscaleProcessing::outGrayImage3 |
The third plane output image.
Default value is NULL. Supported types include: grayscale binary label image.