Table of Contents

Method CreateGeneric

Namespace
OpenCvSharp.XImgProc
Assembly
OpenCvSharp.dll

CreateGeneric(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 CreateGeneric(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