jit.scanoffset

Uses a 1-dimensional matrix to offset scanlines

Description

The jit.scanoffset object uses a 1-dimensional slice of one matrix (in2_matrix) as a map for the offset and scale of the scanlines of another matrix (in1_matrix).

Matrix Operator

matrix inputs:2, matrix outputs:1
Name IOProc Planelink Typelink Dimlink Plane Dim Type
in2 adapt 0 0 0 1 1 float32
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
displacement_map int The scanline, dimension, and plane of the matrix (in2_matrix) used as the offset/scale map (default = 0 0 0)
interp int Interpolation flag (default = 0) When the flag is set, the incoming matrix is interpolated when scaling to display.
mode int The axis of the in1_matrix along which to apply the offset. (default = 0 (horizontal))
0 = apply offset along the horizontal axis
1 = apply offset along the vertical axis
offset float The offset amount. (default = 0.)
scale float The scale amount. (default = 0.)

Information for box attributes common to all objects

Examples

See Also

Name Description
jit.repos Reposition spatially
jit.scanwrap Resample by scanline wrapping