SoConvertImageProcessing engine changes the format of an image. More...
#include <ImageViz/Engines/ImageManipulation/ImageEditing/SoConvertImageProcessing.h>
Public Types | |
enum | DataType { UNSIGNED_CHAR = 0, SIGNED_CHAR = 1, SHORT_INTEGER = 2, UNSIGNED_SHORT = 3, LABEL = 4, BINARY = 5, LONG_INTEGER = 6, FLOATING_POINT = 7 } |
Public Member Functions | |
SoConvertImageProcessing () | |
Public Attributes | |
SoSFEnum | computeMode |
SoSFImageDataAdapter | inImage |
SoSFEnum | dataType |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
The SoConvertImageProcessing engine changes the arithmetic format of the input image to an output image . Conversion follows the C convention, and no overflow is checked. When converting to a binary image type, non zero gray level values will be changed to 1 and zero gray level value will stay unchanged. The formats are:
computeMode | MODE_AUTO |
inImage | NULL |
dataType | UNSIGNED_CHAR |
SoConvertImageProcessing::SoConvertImageProcessing | ( | ) |
Constructor.
Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.
Default is MODE_AUTO
Select the output arithmetic format.
Use enum DataType. Default is UNSIGNED_CHAR
The input image.
Default value is NULL. Supported types include: grayscale binary label color image.
The output image.
Default value is NULL. Supported types include: grayscale binary label color image.