A newer version of Max is available. Click here to access the latest version of this document.

jit.altern

Color screen with threshold

Description

The jit.altern object overlays a color screen onto incoming matrices. The original matrix values are revealed through "gaps" in the screen.

Matrix Operator

matrix inputs:1, matrix outputs:1
Name IOProc Planelink Typelink Dimlink Plane Dim Type
out n/a 1 1 1 1 1 char long float32 float64

Information for Jitter Matrix Operator (MOP) messages and attributes to this object

Attributes

Name Type g/s Description
bgcolor float The overlaid screen color alpha red green blue (default = 0. 0. 0. 0.) All values are in the range 0.-1.
colwidth int The width of the vertical band "gaps" in the screen. (default = 1)
ignore_zero int Alpha channel mode (default = 0 (include alpha channel))
0 = Luminance calculation includes the alpha channel
1 = Plane 0 is ignored and the luminance threshold calculation uses the RGB value
rowheight int The height of the horizontal band "gaps" in the screen. (default = 1)
thresh float The luminance threshold as an average of plane values (default = 0.) Input matrix values above this threshold are displayed as a grid of rectangular "gaps" between the overlaid horizontal and vertical screen stripes. Values below the threshold are displayed using the color specified by the bgcolor attribute.
xinterval int The spacing of "gaps" in the screen along the horizontal axis. (default = 1)
yinterval int The spacing of "gaps" in the screen along the vertical axis. (default = 1)

Information for box attributes common to all objects

Examples

See Also

Name Description
jit.eclipse Meta-imaging
jit.hatch Crosshatch filter
jit.multiplex Multiplex (interleave) two matrices into one matrix