Class SoScaleImageToSizeProcessing
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.engines.SoEngine
-
- com.openinventor.imageviz.engines.SoImageVizEngine
-
- com.openinventor.imageviz.engines.geometryandmatching.geometrictransforms.SoScaleImageToSizeProcessing
-
- All Implemented Interfaces:
SafeDisposable
public class SoScaleImageToSizeProcessing extends SoImageVizEngine
SoScaleImageToSizeProcessing
engine. TheSoScaleImageToSizeProcessing
engine generates an image with a new size using the interpolation mode selected by the user.File format/default:
ScaleImageToSizeProcessing {
computeMode MODE_AUTO imageSize 1024 1024 256 inImage NULL precisionMode NEARBY_PIXEL
Library references: zoom zoom3d
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoScaleImageToSizeProcessing.PrecisionModes
Method used to calculate the intensity of each result pixel.-
Nested classes/interfaces inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoSFEnum<SoImageVizEngine.ComputeModes>
computeMode
Select the compute Mode (2D or 3D or AUTO) .SoSFVec3i32
imageSize
Size of the new image.SoSFImageDataAdapter
inImage
The input grayscale image.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outImage
The output image.SoSFEnum<SoScaleImageToSizeProcessing.PrecisionModes>
precisionMode
Select the interpolation mode.-
Fields inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
onBegin, onEnd, onProgress
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoScaleImageToSizeProcessing()
Constructor.
-
Method Summary
-
Methods inherited from class com.openinventor.imageviz.engines.SoImageVizEngine
abortEvaluate, isEvaluating, startEvaluate, waitEvaluate
-
Methods inherited from class com.openinventor.inventor.engines.SoEngine
copy, getByName, getOutput, getOutputName
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Field Detail
-
computeMode
public final SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
Select the compute Mode (2D or 3D or AUTO) . Default is MODE_AUTO
-
imageSize
public final SoSFVec3i32 imageSize
Size of the new image. Default value isSbVec3i32(1024,1024,256)
-
inImage
public final SoSFImageDataAdapter inImage
The input grayscale image. Default value is NULL. Supported types include: grayscale binary label image.
-
precisionMode
public final SoSFEnum<SoScaleImageToSizeProcessing.PrecisionModes> precisionMode
Select the interpolation mode. . Default is NEARBY_PIXEL
-
outImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outImage
The output image. Default value is NULL. Supported types include: grayscale binary label color image.
-
-