SoScaleByFactorProcessing image filter More...
#include <ImageViz/Engines/GeometryAndMatching/GeometricTransforms/SoScaleByFactorProcessing.h>
Public Types | |
enum | PrecisionMode { NEARBY_PIXEL = 0, INTERPOLATION = 1, SPLINE_INTERPOLATION = 2 } |
Public Member Functions | |
SoScaleByFactorProcessing () | |
Public Attributes | |
SoSFEnum | computeMode |
SoSFImageDataAdapter | inImage |
SoSFFloat | scaleFactor |
SoSFEnum | precisionMode |
SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
The SoScaleByFactorProcessing filter generates a zoomed image with user defined zoom factors using the interpolation mode selected by the user.
computeMode | MODE_AUTO |
inImage | NULL |
scaleFactor | 2.0f |
precisionMode | NEARBY_PIXEL |
SoScaleByFactorProcessing::SoScaleByFactorProcessing | ( | ) |
Constructor.
Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.
Default is MODE_AUTO
The input image.
Default value is NULL. Supported types include: grayscale binary label color image.
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter*> SoScaleByFactorProcessing::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
The zoom factor.
Default value is 2.0f.