completeSymm
import { completeSymm } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSm, lowerToUpper
FUNCTIONcompleteSymm
RETURN TYPEvoid
Copies the lower or the upper half of a square matrix to its another half.
The function cv::completeSymm copies the lower or the upper half of a square matrix to its another half. The matrix diagonal remains unchanged:
\texttt{m}_{ij}=\texttt{m}_{ji}fori > jif lowerToUpper=false\texttt{m}_{ij}=\texttt{m}_{ji}fori < jif lowerToUpper=true
See: flip, transpose
completeSymm(m: Mat, lowerToUpper: boolean): void;mInput/output value, modified by the native operation. input-output floating-point square matrix.
lowerToUpperoperation flag; if true, the lower half is copied to the upper half. Otherwise, the upper half is copied to the lower half.
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.