SoPostEffectDownsample

InventorModule
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoRenderers
definition SoRenderers.def

Purpose

The SoPostEffectDownsample module allows for downsampling a given buffer using averaging.

Parameter Fields

Visible Fields

Enabled

name: enabled, type: Bool, default: TRUE

If checked, the effect is enabled.

Resize Mode

name: resizeMode, type: Enum, default: Average2x2

Defines the downsample mode.

Values:

Title Name Description
Average2x2 Average2x2 Downsample to half the size.
Average3x3 Average3x3 Downsample to a third of the size.
Average4x4 Average4x4 Downsample to a quarter of the size.

Source Buffer Name

name: sourceBufferName, type: String, default: sourceBufferName

Sets the source buffer’s name.

Target Buffer Name

name: targetBufferName, type: String, default: targetBufferName

Sets the newly created target buffer’s name, which will have the same data type as the source buffer.