ximgproc_computeMSE
import { ximgproc_computeMSE } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSGT, src, ROI
FUNCTIONximgproc_computeMSE
RETURN TYPEnumber
Function for computing mean square error for disparity maps
result: returns mean square error between GT and src
ximgproc_computeMSE(GT: Mat, src: Mat, ROI: Rect): number;GTground truth disparity map
srcdisparity map to evaluate
ROIregion of interest
Returns
The number result.
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.