DecompTypes
import { DecompTypes } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods.
matrix decomposition types
Constructors and members
static DECOMP_LU
Gaussian elimination with the optimal pivot element chosen.
DECOMP_LU: DecompTypesValue<0>,static DECOMP_SVD
singular value decomposition (SVD) method; the system can be over-defined and/or the matrix src1 can be singular
DECOMP_SVD: DecompTypesValue<1>,static DECOMP_EIG
eigenvalue decomposition; the matrix src1 must be symmetrical
DECOMP_EIG: DecompTypesValue<2>,static DECOMP_CHOLESKY
Cholesky LL^T factorization; the matrix src1 must be symmetrical and positively
defined
DECOMP_CHOLESKY: DecompTypesValue<3>,static DECOMP_QR
QR factorization; the system can be over-defined and/or the matrix src1 can be singular
DECOMP_QR: DecompTypesValue<4>,static DECOMP_NORMAL
while all the previous flags are mutually exclusive, this flag can be used together with
any of the previous; it means that the normal equations
\texttt{src1}^T\cdot\texttt{src1}\cdot\texttt{dst}=\texttt{src1}^T\texttt{src2} are
solved instead of the original system
\texttt{src1}\cdot\texttt{dst}=\texttt{src2}
DECOMP_NORMAL: DecompTypesValue<16>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.