public class SoSampleImageProcessing extends SoImageVizEngine
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.
File format/default:
SampleImageProcessing {
computeMode | MODE_AUTO |
sampleFactor | 2 2 2 |
inImage | NULL |
Library references: sample sample3d
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFEnum<SoImageVizEngine.ComputeModes> |
computeMode
Select the compute Mode (2D or 3D or AUTO) .
|
SoSFImageDataAdapter |
inImage
The input image.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outImage
The output image.
|
SoSFVec3i32 |
sampleFactor
The sample factor in each direction.
|
onBegin, onEnd, onProgress
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoSampleImageProcessing()
Constructor.
|
abortEvaluate, isEvaluating, startEvaluate, waitEvaluate
copy, getByName, getOutput, getOutputName
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
getNativeResourceHandle
public final SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
public final SoSFVec3i32 sampleFactor
SbVec3i32(2,2,2)
public final SoSFImageDataAdapter inImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outImage
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com