Skip to content

transposeND

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

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

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

Transpose for n-dimensional matrices.

Note: Input should be continuous single-channel matrix.

transposeND(src: Mat, order: IntVector, dst: Mat): void;
src

input array.

order

a permutation of [0,1,..,N-1] where N is the number of axes of src. The i'th axis of dst will correspond to the axis numbered order[i] of the input.

dst

Output destination, filled by the native operation. output array of the same type as src.

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.