Skip to content

ximgproc_computeMSE

Extended image processingfunctionOpenCV 5.0.0
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
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

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;
GT

ground truth disparity map

src

disparity map to evaluate

ROI

region 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.