SoPostEffectBlur

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

Purpose

The SoPostEffectBlur module offers gaussian blurring of a given buffer.

The separable blur is implemented as a vertical and horizontal pass.

Parameter Fields

Field Index

Buffer Name: String
Enabled: Bool
Iterations: Integer
Kernel Size: Integer
Sample Distance: Float

Visible Fields

Enabled

name: enabled, type: Bool, default: TRUE

Enables/disables the effect.

Buffer Name

name: bufferName, type: String, default: colorBuffer

Selects the buffer to blur.

Kernel Size

name: kernelSize, type: Integer, default: 9, minimum: 3, maximum: 32

Selects the kernel size of the blur (in pixels).

Sample Distance

name: sampleDistance, type: Float, default: 1, minimum: 1, maximum: 8

Selects the sample distance (1 means 1 pixel) Values bigger than 1 mean that the blur region gets bigger but has less quality since samples are skipped.

Iterations

name: iterations, type: Integer, default: 1, minimum: 1, maximum: 32

The blur can be applied multiple times, the sampleDistance is increased on each iteration so that the blurred region gets bigger.