Skip to content

gapi_transpose

gapifunctionOpenCV 5.0.0
import { gapi_transpose } from '@banou/opencv-wasm'

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

ARGUMENTSsrc
FUNCTIONgapi_transpose
RETURN TYPEGMat
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Transposes a matrix.

The function transposes the matrix:

\texttt{dst} (i,j) =  \texttt{src} (j,i)

Note: - Function textual ID is "org.opencv.core.transpose"

  • No complex conjugation is done in case of a complex matrix. It should be done separately if needed.
gapi_transpose(src: GMat): GMat;
src

input array.

Returns

The GMat result. Release returned native handles with using or delete(), including handles nested in results.

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.