invertAffineTransform
import { invertAffineTransform } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSM, iM
FUNCTIONinvertAffineTransform
RETURN TYPEvoid
Inverts an affine transformation.
The function computes an inverse affine transformation represented by 2 \times 3 matrix M:
\begin{bmatrix} a_{11} & a_{12} & b_1 \\ a_{21} & a_{22} & b_2 \end{bmatrix}
The result is also a 2 \times 3 matrix of the same type as M.
invertAffineTransform(M: Mat, iM: Mat): void;MOriginal affine transformation.
iMOutput destination, filled by the native operation. Output reverse affine transformation.
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.