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.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, 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, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable, touch
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
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 January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com