SoImagePreAlignmentTransform3d Class Reference
[Registration]

ImageViz SoImagePreAlignmentTransform3d image filter More...

#include <ImageViz/Engines/GeometryAndMatching/Registration/SoImagePreAlignmentTransform3d.h>

Inheritance diagram for SoImagePreAlignmentTransform3d:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  AlignmentMode {
  CENTERS = 0,
  PRINCIPAL_AXIS = 1
}

Public Member Functions

 SoImagePreAlignmentTransform3d ()
SbMatrix getOutputTransformation ()

Public Attributes

SoSFImageDataAdapter inMovingImage
SoSFImageDataAdapter inFixedImage
SoSFEnum alignmentMode
SoImageVizEngineOutput
< SoSFFieldContainer,
SoRegistrationResult * > 
outTransform

Detailed Description

ImageViz SoImagePreAlignmentTransform3d image filter

SoImagePreAlignmentTransform3d estimates a transformation (translation and rotation) that aligns a moving image with a fixed image based on their intensity values. This transformation is particularly useful as an initial transformation value for the IntensityParametricRegistration engine.

SoImagePreAlignmentTransform3d first computes the centers of gravity and (optionally) the principal axes of both images (model and reference) using the image intensity values as a mass density. In the second step, the translation and the rotation that align the centers of gravity and the principal axes of both images are estimated. Note that if the computation of principal axes is omitted, only a translation is estimated.

FILE FORMAT/DEFAULT

SEE ALSO

SoImageRegistrationTransform3d, SoRegistrationResult


Member Enumeration Documentation

This enum defines the different types of alignments.

Enumerator:
CENTERS 

In this mode, the centers of gravity of the input images are aligned.

PRINCIPAL_AXIS 

In this mode, the centers of gravity and the principal axes of the input images are aligned.


Constructor & Destructor Documentation

SoImagePreAlignmentTransform3d::SoImagePreAlignmentTransform3d (  ) 

Constructor.


Member Function Documentation

SbMatrix SoImagePreAlignmentTransform3d::getOutputTransformation (  )  [inline]

Returns the transform matrix that aligns the model image to the reference image.


Member Data Documentation

Select the type of alignment Use enum AlignmentMode.

Default is CENTERS

The reference image.

Default value is NULL. Supported types include: grayscale, binary, label.

The model image.

Default value is NULL. Supported types include: grayscale, binary, label.

Output structure storing registration results.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/