Skip to content

CV_MAKETYPE

TypeScript helpershelperOpenCV 5.0.0
import { CV_MAKETYPE } from '@banou/opencv-wasm'
ARGUMENTSSee signature below
HELPERCV_MAKETYPE
RETURN TYPESee signature below
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Construct an OpenCV 5 matrix type code with a supported depth and 1 to 128 channels.

export declare const CV_MAKETYPE: (depth: number, channels: number) => number;

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.