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.Neighborhood3dsInventor.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.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgressVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoSampleImageProcessing()
Constructor.
|
abortEvaluate, isEvaluating, startEvaluate, waitEvaluatecopy, getByName, getOutput, getOutputNamecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable, touchgetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic 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 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com