Skip to content

CV_MAT_DEPTH

Core and matricesfunctionOpenCV 5.0.0
import { CV_MAT_DEPTH } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTS_0
FUNCTIONCV_MAT_DEPTH
RETURN TYPEnumber
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Extract the scalar element depth from a combined OpenCV matrix type code.

CV_MAT_DEPTH(_0: number): number;
_0

0 argument (number).

Returns

The number result.

These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.