jit.coerce Reference

Coerce a matrix into different types/planecount

jit.coerce

Description

Coerces a matrix into different types/planecount without copying data (sometimes called "header munging"). This may be useful for treating integers as floating point data and vice versa, or treating a four-plane char matrix as a single plane long matrix.

Examples

Matrix Operator

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

More about Matrix Operators

The Jitter MOP

MOP Arguments

MOP Attributes

MOP Messages

Attributes

Common Box Attributes

See Also

Name Description
Working with Video in Jitter Working with Video in Jitter
jit.matrix
jit.pack
jit.unpack
jit.submatrix