Table of Contents

Method CreateDisparityWLSFilterGeneric

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

CreateDisparityWLSFilterGeneric(bool)

More generic factory method, creates an instance of DisparityWLSFilter and executes basic initialization routines. When using this method you will need to set up the ROI, matchers and other parameters by yourself.

public static DisparityWLSFilter CreateDisparityWLSFilterGeneric(bool useConfidence)

Parameters

useConfidence bool

filtering with confidence requires two disparity maps (for the left and right views) and is approximately two times slower. However, quality is typically significantly better.

Returns

DisparityWLSFilter