transpose
import { transpose } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSsrc, dst
FUNCTIONtranspose
RETURN TYPEvoid
Transposes a matrix.
The function cv::transpose transposes the matrix src :
\texttt{dst} (i,j) = \texttt{src} (j,i)
Note: No complex conjugation is done in case of a complex matrix. It should be done separately if needed.
transpose(src: Mat, dst: Mat): void;srcinput array.
dstOutput 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.