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
guideInputArrayimage serving as guide for filtering. It should have 8-bit depth and either 1 or 3 channels.
sigmaSpatialdoubleparameter, that is similar to spatial space sigma (bandwidth) in bilateralFilter.
sigmaLumadoubleparameter, that is similar to luma space sigma (bandwidth) in bilateralFilter.
sigmaChromadoubleparameter, that is similar to chroma space sigma (bandwidth) in bilateralFilter.
lambdadoublesmoothness strength parameter for solver.
numIterintnumber of iterations used for solver, 25 is usually enough.
maxToldoubleconvergence tolerance used for solver.