Skip to content

flipND

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

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

ARGUMENTSsrc, dst, axis
FUNCTIONflipND
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Flips a n-dimensional at given axis

flipND(src: Mat, dst: Mat, axis: number): void;
src

input array

dst

Output destination, filled by the native operation. output array that has the same shape of src

axis

axis that performs a flip on. 0 <= axis < src.dims.

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.