SoResampleElasticProcessing2d Class Reference
[GeometricTransforms]

ImageViz [PREVIEW] SoResampleElasticProcessing2d resamples an image with a displacement field. More...

#include <ImageViz/Engines/GeometryAndMatching/GeometricTransforms/SoResampleElasticProcessing2d.h>

Inheritance diagram for SoResampleElasticProcessing2d:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  ExtrapolationType {
  PADDING_VALUE = 0,
  NEAREST_VALUE = 1
}
enum  InterpolationType {
  NEAREST_NEIGHBOR = 0,
  LINEAR = 1
}

Public Member Functions

 SoResampleElasticProcessing2d ()

Public Attributes

SoSFImageDataAdapter inImage
SoSFImageDataAdapter inDisplacementField
SoSFEnum extrapolationType
SoSFEnum interpolationType
SoSFVec2f origin
SoSFVec2f voxelSize
SoSFVec2i32 imageDimensions
SoSFDouble paddingValue
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outImage

Detailed Description

ImageViz [PREVIEW] SoResampleElasticProcessing2d resamples an image with a displacement field.

This algorithm of resampling can be applied with an elastic transformation.

See also: SoElasticRegistrationProcessing2d.

FILE FORMAT/DEFAULT


Library references: ResampleElastic2d


Member Enumeration Documentation

The type of extrapolation used.

Enumerator:
PADDING_VALUE 

A constant value is used for extrapolation.

NEAREST_VALUE 

The value of the nearest point is used for extrapolation.

Type of interpolation used.

Enumerator:
NEAREST_NEIGHBOR 

The value of the intensity is equal to the nearest intensity.

LINEAR 

The value of the intensity is linearly interpolated in all directions.


Constructor & Destructor Documentation

SoResampleElasticProcessing2d::SoResampleElasticProcessing2d (  ) 

Constructor.


Member Data Documentation

The type of extrapolation used.

Use enum ExtrapolationType. Default is PADDING_VALUE

The size in pixels of the output image.

Default value is SbVec2i32(100,100).

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.

Input image to resample.

Default value is NULL. Supported types include: grayscale image.

Type of interpolation you want to use.

Use enum InterpolationType. Default is LINEAR

The origin in world coordinates of the output image.

Default value is SbVec2f(0.0f,0.0f).

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.

This is the padding value.

Default value is 0.0.

The pixel size in world coordinates for x and y directions of the output image.

Default value is SbVec2f(1.0f,1.0f).


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/