SoScaleByFactorProcessing Class Reference
[GeometricTransforms]

ImageViz SoScaleByFactorProcessing image filter More...

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

Inheritance diagram for SoScaleByFactorProcessing:
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

 SoScaleByFactorProcessing ()

Public Attributes

SoSFEnum computeMode
SoSFImageDataAdapter inImage
SoSFFloat scaleFactor
SoSFEnum precisionMode
SoImageVizEngineOutput
< SoSFImageDataAdapter,
SoImageDataAdapter * > 
outImage

Detailed Description

ImageViz SoScaleByFactorProcessing image filter

The SoScaleByFactorProcessing filter generates a zoomed image with user defined zoom factors using the interpolation mode selected by the user.

FILE FORMAT/DEFAULT


Library references: zoomfactor


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

SoScaleByFactorProcessing::SoScaleByFactorProcessing (  ) 

Constructor.


Member Data Documentation

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

Default is MODE_AUTO

The input image.

Default value is NULL. Supported types include: grayscale binary label color 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 zoom factor.

Default value is 2.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/