public class SoImageRegistrationTransform3d extends SoImageVizEngine
SoImageRegistrationTransform3d
image filter
SoImageRegistrationTransform3d
finds the best transformation that aligns a moving image with a fixed image by optimizing a similarity criterion between the 2 images, starting from an initial guess. The estimated transformation can be rigid (translation and rotation only), rigid with scale factors or affine.
The SoImagePreAlignmentTransform3d
engine can be used to compute the initial guess.
The application can register to receive progress events during the (potentially time consuming) computation.
File format/default:
ImageRegistrationTransform3d {
inMovingImage | NULL |
inFixedImage | NULL |
initialTransform | SbMatrix.identity() |
autoParameterMode | true |
optimizerStep | SbVec2f ( 1.0f / 16.0f, 1.0f / 2.0f ) |
coarsestResampling | SbVec3i32( 8, 8, 8 ) |
transformType | RIGID |
ignoreFinestLevel | false |
metricType | CORRELATION |
See also:
SoImagePreAlignmentTransform3d
, SoRegistrationResultDeprecated since Open Inventor 9800
Replaced by SoImageRegistrationTransform
Modifier and Type | Class and Description |
---|---|
static class |
SoImageRegistrationTransform3d.MetricTypes
Deprecated.
This enum defines the different types of metric.
|
static class |
SoImageRegistrationTransform3d.RegistrationEvent
Deprecated.
|
static class |
SoImageRegistrationTransform3d.TransformationTypes
Deprecated.
This enum defines the types of transforms that can be computed.
|
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
static int |
AFFINE
Deprecated.
|
SoSFBool |
autoParameterMode
Deprecated.
Automatic mode.
|
SoSFVec3i32 |
coarsestResampling
Deprecated.
Voxel size at the coarsest level.
|
SoSFEnum<SoImageVizEngine.ComputeModes> |
computeMode
Deprecated.
Select the compute Mode (2D or 3D or AUTO) .
|
static int |
CORRELATION
Deprecated.
|
static int |
EUCLIDIAN
Deprecated.
Use
SoImageRegistrationTransform3d.MetricTypes.EUCLIDIAN instead. |
SoSFBool |
ignoreFinestLevel
Deprecated.
Skip the finest level of the pyramid.
|
SoSFImageDataAdapter |
inFixedImage
Deprecated.
The input reference image.
|
SoSFMatrix |
initialTransform
Deprecated.
The initial transformation that pre-aligns the model onto the reference.
|
SoSFImageDataAdapter |
inMovingImage
Deprecated.
The input model image.
|
SoSFEnum<SoImageRegistrationTransform3d.MetricTypes> |
metricType
Deprecated.
Select the metric type.
|
static int |
NORMALIZED_MUTUAL_INFORMATION
Deprecated.
|
SbEventHandler<SoImageRegistrationTransform3d.RegistrationEvent> |
onProgressRegistration
Deprecated.
Specific event handler for registration.
|
SoSFVec2f |
optimizerStep
Deprecated.
Step size in translation at coarsest and finest scales (physical).
|
SoImageVizEngineOutput<SoSFFieldContainer,SoRegistrationResult> |
outTransform
Deprecated.
Output structure storing registration results.
|
static int |
RIGID
Deprecated.
|
static int |
RIGID_ANSISOTROPIC_SCALING
Deprecated.
|
static int |
RIGID_ISOTROPIC_SCALING
Deprecated.
|
SoSFEnum<SoImageRegistrationTransform3d.TransformationTypes> |
transformType
Deprecated.
Select the type of transform.
|
static int |
TRANSLATION
Deprecated.
|
CONNECTIVITY_18, CONNECTIVITY_26, CONNECTIVITY_6, MODE_2D, MODE_3D, MODE_AUTO, onBegin, onEnd, onProgress
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoImageRegistrationTransform3d()
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SbMatrix |
getOutputTransformation()
Deprecated.
return the output transform matrix that aligns the model image to the reference image.
|
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
@Deprecated public static final int TRANSLATION
SoImageRegistrationTransform3d.TransformationTypes.TRANSLATION
instead.@Deprecated public static final int RIGID
SoImageRegistrationTransform3d.TransformationTypes.RIGID
instead.@Deprecated public static final int RIGID_ISOTROPIC_SCALING
SoImageRegistrationTransform3d.TransformationTypes.RIGID_ISOTROPIC_SCALING
instead.@Deprecated public static final int RIGID_ANSISOTROPIC_SCALING
SoImageRegistrationTransform3d.TransformationTypes.RIGID_ANSISOTROPIC_SCALING
instead.@Deprecated public static final int AFFINE
SoImageRegistrationTransform3d.TransformationTypes.AFFINE
instead.@Deprecated public static final int EUCLIDIAN
SoImageRegistrationTransform3d.MetricTypes.EUCLIDIAN
instead.@Deprecated public static final int CORRELATION
SoImageRegistrationTransform3d.MetricTypes.CORRELATION
instead.@Deprecated public static final int NORMALIZED_MUTUAL_INFORMATION
SoImageRegistrationTransform3d.MetricTypes.NORMALIZED_MUTUAL_INFORMATION
instead.public final SbEventHandler<SoImageRegistrationTransform3d.RegistrationEvent> onProgressRegistration
public final SoSFEnum<SoImageVizEngine.ComputeModes> computeMode
public final SoSFImageDataAdapter inMovingImage
public final SoSFImageDataAdapter inFixedImage
public final SoSFMatrix initialTransform
SbMatrix.identity()
. The SoImagePreAlignmentTransform3d
engine can be used to compute an initial transform.public final SoSFBool autoParameterMode
public final SoSFVec2f optimizerStep
SbVec2f
( 4.0f, 1.0f / 2.0f ) ). These parameters correspond to a displacement of half a voxel for the coarsest and finest level by using default parameters for coarsestResampling (assuming a voxel size of (1,1,1) ). This parameter is ignored if autoParameterMode is set to true.public final SoSFVec3i32 coarsestResampling
SbVec3i32(8,8,8)
. This parameter is ignored if autoParameterMode is set to true.public final SoSFEnum<SoImageRegistrationTransform3d.TransformationTypes> transformType
public final SoSFBool ignoreFinestLevel
public final SoSFEnum<SoImageRegistrationTransform3d.MetricTypes> metricType
public final SoImageVizEngineOutput<SoSFFieldContainer,SoRegistrationResult> outTransform
public SoImageRegistrationTransform3d()
public SbMatrix getOutputTransformation()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com