Table of Contents

Method Create

Namespace
OpenCvSharp.XImgProc
Assembly
OpenCvSharp.dll

Create(InputArray, double, double, double, double, int, double)

Factory method, create instance of FastBilateralSolverFilter and execute the initialization routines.

public static FastBilateralSolverFilter Create(InputArray guide, double sigmaSpatial, double sigmaLuma, double sigmaChroma, double lambda = 128, int numIter = 25, double maxTol = 1E-05)

Parameters

guide InputArray

image serving as guide for filtering. It should have 8-bit depth and either 1 or 3 channels.

sigmaSpatial double

parameter, that is similar to spatial space sigma (bandwidth) in bilateralFilter.

sigmaLuma double

parameter, that is similar to luma space sigma (bandwidth) in bilateralFilter.

sigmaChroma double

parameter, that is similar to chroma space sigma (bandwidth) in bilateralFilter.

lambda double

smoothness strength parameter for solver.

numIter int

number of iterations used for solver, 25 is usually enough.

maxTol double

convergence tolerance used for solver.

Returns

FastBilateralSolverFilter