Skip to content

ximgproc_createDisparityWLSFilter

Extended image processingfunctionOpenCV 5.0.0
import { ximgproc_createDisparityWLSFilter } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSmatcher_left
FUNCTIONximgproc_createDisparityWLSFilter
RETURN TYPEximgproc_DisparityWLSFilter | null
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Convenience factory method that creates an instance of DisparityWLSFilter and sets up all the relevant filter parameters automatically based on the matcher instance. Currently supports only StereoBM and StereoSGBM.

ximgproc_createDisparityWLSFilter(matcher_left: StereoMatcher | null): ximgproc_DisparityWLSFilter | null;
matcher_left

stereo matcher instance that will be used with the filter

Returns

The ximgproc_DisparityWLSFilter | null 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.