Class SoResampleElasticProcessing2d
- 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.SoResampleElasticProcessing2d
-
- All Implemented Interfaces:
SafeDisposable
@Deprecated(since="2023.2") public class SoResampleElasticProcessing2d extends SoImageVizEngine
Deprecated.As of Open Inventor 2023.2. ImageViz API is replaced by the new ImageDev toolkit.(Preview Feature)SoResampleElasticProcessing2d
resamples an image with a displacement field.Preview Feature means this class is fully supported and can be used in Open Inventor applications. Being tagged as a Preview Feature just means that the implementation is still subject to API changes and adjustments based on feedback from early adopters. Please be also aware that source compatibility might be broken regardless of the Open Inventor compatibility changes policy due to our commitment to bring needed changes to be sure the specifications of this Preview Feature match the expectations of our customers.
This algorithm of resampling can be applied with an elastic transformation.See also:
SoElasticRegistrationProcessing2d
.File format/default:
ResampleElasticProcessing2d {
inImage NULL inDisplacementField NULL extrapolationType PADDING_VALUE interpolationType LINEAR origin 0.0f 0.0f voxelSize 1.0f 1.0f imageDimensions 100 100 paddingValue 0.0
Library references: ResampleElastic2d
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoResampleElasticProcessing2d.ExtrapolationTypes
Deprecated.The type of extrapolation used.static class
SoResampleElasticProcessing2d.InterpolationTypes
Deprecated.Type of interpolation used.-
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<SoResampleElasticProcessing2d.ExtrapolationTypes>
extrapolationType
Deprecated.The type of extrapolation used.SoSFVec2i32
imageDimensions
Deprecated.The size in pixels of the output image.SoSFImageDataAdapter
inDisplacementField
Deprecated.The displacement field that maps the output voxels to the input voxels.SoSFImageDataAdapter
inImage
Deprecated.Input image to resample.SoSFEnum<SoResampleElasticProcessing2d.InterpolationTypes>
interpolationType
Deprecated.Type of interpolation you want to use.SoSFVec2f
origin
Deprecated.The origin in world coordinates of the output image.SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter>
outImage
Deprecated.The resampled output image.SoSFDouble
paddingValue
Deprecated.This is the padding value.SoSFVec2f
voxelSize
Deprecated.The pixel size in world coordinates for x and y directions of the output image.-
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 SoResampleElasticProcessing2d()
Deprecated.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
-
inImage
public final SoSFImageDataAdapter inImage
Deprecated.Input image to resample. Default value is NULL. Supported types include: grayscale image.
-
inDisplacementField
public final SoSFImageDataAdapter inDisplacementField
Deprecated.The displacement field that maps the output voxels to the input voxels. This parameter must be set only if the parameter transformation is set to DISPLACEMENT_FIELD. The image must have exactly two spectral series and the image type must be float. Every pixel of the displacementField image contains 2 values:a displacement in x direction and one in y direction. Default value is NULL. Supported types include: grayscale image.
-
extrapolationType
public final SoSFEnum<SoResampleElasticProcessing2d.ExtrapolationTypes> extrapolationType
Deprecated.The type of extrapolation used. . Default is PADDING_VALUE
-
interpolationType
public final SoSFEnum<SoResampleElasticProcessing2d.InterpolationTypes> interpolationType
Deprecated.Type of interpolation you want to use. . Default is LINEAR
-
origin
public final SoSFVec2f origin
Deprecated.The origin in world coordinates of the output image. Default value isSbVec2f
(0.0f,0.0f).
-
voxelSize
public final SoSFVec2f voxelSize
Deprecated.The pixel size in world coordinates for x and y directions of the output image. Default value isSbVec2f
(1.0f,1.0f).
-
imageDimensions
public final SoSFVec2i32 imageDimensions
Deprecated.The size in pixels of the output image. Default value isSbVec2i32(100,100)
.
-
paddingValue
public final SoSFDouble paddingValue
Deprecated.This is the padding value. Default value is 0.0.
-
outImage
public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outImage
Deprecated.The resampled output image. Its resolution and bounding box are defined by the parameters origin, spacing and size. Default value is NULL. Supported types include: grayscale image.
-
-