SoScaleImageToSizeProcessing engine More...
#include <ImageViz/Engines/GeometryAndMatching/GeometricTransforms/SoScaleImageToSizeProcessing.h>
Public Types | |
enum | PrecisionMode { NEARBY_PIXEL = 0, INTERPOLATION = 1, SPLINE_INTERPOLATION = 2 } |
Public Member Functions | |
SoScaleImageToSizeProcessing () | |
Public Attributes | |
SoSFEnum | computeMode |
SoSFVec3i32 | imageSize |
SoSFImageDataAdapter | inImage |
SoSFEnum | precisionMode |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
The SoScaleImageToSizeProcessing engine generates an image with a new size using the interpolation mode selected by the user.
computeMode | MODE_AUTO |
imageSize | 1024 1024 256 |
inImage | NULL |
precisionMode | NEARBY_PIXEL |
SoScaleImageToSizeProcessing::SoScaleImageToSizeProcessing | ( | ) |
Constructor.
Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.
Default is MODE_AUTO
Size of the new image.
Default value is SbVec3i32(1024,1024,256)
The input grayscale image.
Default value is NULL. Supported types include: grayscale binary label image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoScaleImageToSizeProcessing::outImage |
The output image.
Default value is NULL. Supported types include: grayscale binary label color image.
Select the interpolation mode.
Use enum PrecisionMode. Default is NEARBY_PIXEL