VStep:
Filter:
Scintillator/Classes (extension) | Quarks > Scintillator > VGens > Mathematics > Signal Processing

VStep
ExtensionExtension

Dynamic threshold VGen

Description

Just like the binary operator thresh, returns 0 when v < step, otherwise v. Higher-dimensional versions of VStep do the comparison piecewise, meaning each component of v will be compaired against the same component of step.

Supported Rates: frame, shape, pixel

Class Methods

.fr

.sr

.pr

Make a VStep VGen at requested rate.

Arguments:

step

The minimum value v must exceed for the VGen to return v instead of 0.

v

The input value to compare against step.

Returns:

For each component of v, 0 when v < step, otherwise v

Dimensions

inputoutput
1, 1, 1, 11
2, 2, 2, 22
3, 3, 3, 33
4, 4, 4, 44

Examples