public class SoElasticRegistrationProcessing2d extends SoImageVizEngine
SoElasticRegistrationProcessing2d
engine
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.
TheSoElasticRegistrationProcessing2d
engine computes the optimal elastic transformation to register a moving image on a fixed image.
Registration is a mapping technique between two images in order to compare it. The different registration algorithms depend on the type of transformation that will be applied on the moving image.
SoElasticRegistrationProcessing2d
class computes the optimal elastic transformation to register a moving image on a fixed image.
The main output of the algorithm is a displacement image representing the computed transformation. Each pixel of this image contains two values: a displacement to apply in x direction and an other to apply in y direction on the corresponding pixel of the moving image to be registered on the fixed image.
The SoElasticRegistrationProcessing2d
implementation relies on the non-rigid registration demon algorithm, it is detailed in the publication:
Jean-Philippe Thirion. Image matching as a diffusion process: an analogy with Maxwell’s demons. Medical Image Analysis, Elsevier, 1998, 2 (3), pp.243–260
SoElasticRegistrationProcessing2d
has two levels of regularization: fluid and elastic. The fluid regularization corresponds to the forces field regularization and the elastic one corresponds to the displacement field regularization.
The forces field is an elementary displacement which is iteratively added to the current displacement field during the registration procedure. This forces field tends to decrease the similarity measure between the 2 images.
The coarsest and the finest resolution levels of the multi-resolution can be user-defined. The registration is evaluated at the coarsest level first and then iteratively at each level until the finest one. The higher finest level, the faster the computation is. The lower finest level, the more accurate the registration is.
The multi-resolution approach prevents the optimization procedure from falling into a local extrema and also speeds up the calculation.
SoElasticRegistrationProcessing2d
also proposes a multi-resolution approach.
![]() | ![]() | ![]() |
File format/default:
ElasticRegistrationProcessing2d {
metricType | EUCLIDEAN |
inFixedImage | NULL |
inMovingImage | NULL |
tolerance | 0.025 |
pyramidLevels | 2 0 |
elasticStandardDeviation | 10.0f 10.0f |
fluidStandardDeviation | 10.0f 10.0f |
Library references: ElasticRegistration2d
Modifier and Type | Class and Description |
---|---|
static class |
SoElasticRegistrationProcessing2d.MetricTypes
This enumeration handles all type of supported metric.
|
SoImageVizEngine.ComputeModes, SoImageVizEngine.EventArg, SoImageVizEngine.Neighborhood3ds
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFVec2f |
elasticStandardDeviation
The standard deviation in pixel of the gaussian kernel used to smooth the displacement field at each iteration.
|
SoSFVec2f |
fluidStandardDeviation
The standard deviation in pixel of the gaussian kernel used to smooth the forces field at each iteration.
|
SoSFImageDataAdapter |
inFixedImage
The reference image on which the moving image has to be registered.
|
SoSFImageDataAdapter |
inMovingImage
The input model image to be registered.
|
SoSFEnum<SoElasticRegistrationProcessing2d.MetricTypes> |
metricType
Type of metric used to measure the similarity/dissimilarity between the fixed and the transformed image.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outDisplacementField
The displacement field that maps a pixel of the moving image onto the corresponding pixel in the fixed image.
|
SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> |
outImage
The
inMovingImage transformed by the output displacement field. |
SoSFVec2i32 |
pyramidLevels
A 2-dimensional vector: first coordinate is the coarsest resolution, second coordinate is the finest resolution.
|
SoSFDouble |
tolerance
Maximum relative variation of the metric to stop the process.
|
onBegin, onEnd, onProgress
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoElasticRegistrationProcessing2d()
Constructor.
|
abortEvaluate, isEvaluating, startEvaluate, waitEvaluate
copy, getByName, getOutput, getOutputName
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
getNativeResourceHandle
public final SoSFEnum<SoElasticRegistrationProcessing2d.MetricTypes> metricType
public final SoSFImageDataAdapter inFixedImage
public final SoSFImageDataAdapter inMovingImage
public final SoSFDouble tolerance
public final SoSFVec2i32 pyramidLevels
SbVec2i32(2,0)
.public final SoSFVec2f elasticStandardDeviation
SbVec2f
(10.0f,10.0f).public final SoSFVec2f fluidStandardDeviation
SbVec2f
(10.0f,10.0f).public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outImage
inMovingImage
transformed by the output displacement field.
The image is in gray level. The output image has the same type than the input image which is registered. Default value is NULL. Supported types include: grayscale image.public final SoImageVizEngineOutput<SoSFImageDataAdapter,SoImageDataAdapter> outDisplacementField
Generated on February 26, 2021, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com