SoScaleImageToSizeProcessing Class Reference
[GeometricTransforms]

ImageViz SoScaleImageToSizeProcessing engine More...

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

Inheritance diagram for SoScaleImageToSizeProcessing:
SoImageVizEngine SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  PrecisionMode {
  NEARBY_PIXEL = 0,
  INTERPOLATION = 1,
  SPLINE_INTERPOLATION = 2
}

Public Member Functions

 SoScaleImageToSizeProcessing ()

Public Attributes

SoSFEnum computeMode
SoSFVec3i32 imageSize
SoSFImageDataAdapter inImage
SoSFEnum precisionMode
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outImage

Detailed Description

ImageViz SoScaleImageToSizeProcessing engine

The SoScaleImageToSizeProcessing engine generates an image with a new size using the interpolation mode selected by the user.

FILE FORMAT/DEFAULT


Library references: zoom zoom3d


Member Enumeration Documentation

Method used to calculate the intensity of each result pixel.

Enumerator:
NEARBY_PIXEL 

Take the grey level of the nearest pixel.

INTERPOLATION 

Take the bilinear interpolation from the four nearest pixels.

SPLINE_INTERPOLATION 

Take the cubic interpolation from the nearest pixels.


Constructor & Destructor Documentation

SoScaleImageToSizeProcessing::SoScaleImageToSizeProcessing (  ) 

Constructor.


Member Data Documentation

Select the compute Mode (2D or 3D or AUTO) Use enum ComputeMode.

Default is MODE_AUTO

Size of the new image.

Default value is SbVec3i32(1024,1024,256)

The input grayscale image.

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

The output image.

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

Select the interpolation mode.

Use enum PrecisionMode. Default is NEARBY_PIXEL


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/