SoSampleImageProcessing engine extracts a sub-sample of an image.
More...
#include <ImageViz/Engines/ImageManipulation/ImageEditing/SoSampleImageProcessing.h>
Public Member Functions | |
| SoSampleImageProcessing () | |
Public Attributes | |
| SoSFEnum | computeMode |
| SoSFVec3i32 | sampleFactor |
| SoSFImageDataAdapter | inImage |
| SoImageVizEngineOutput < SoSFImageDataAdapter, SoImageDataAdapter * > | outImage |
SoSampleImageProcessing engine extracts a sub-sample of an image.
The SoSampleImageProcessing engine extracts a sub-sample of an image based on an integer factor for the x, y and z coordinates. For example, specifying integer factors of 4 and 8 would result in an output image based on the value of every fourth pixel in the x axis and every eighth pixel in the y axis.
| computeMode | MODE_AUTO |
| sampleFactor | 2 2 2 |
| inImage | NULL |
| SoSampleImageProcessing::SoSampleImageProcessing | ( | ) |
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 image.
The output image.
Default value is NULL. Supported types include: grayscale binary label color image.
The sample factor in each direction.
Default value is SbVec3i32(2,2,2)