Click or drag to resize

CvXImgProcFastBilateralSolverFilter Method

Simple one-line Fast Bilateral Solver filter call. If you have multiple images to filter with the same guide then use FastBilateralSolverFilter interface to avoid extra computations.

Namespace:  OpenCvSharp.XImgProc
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void FastBilateralSolverFilter(
	InputArray guide,
	InputArray src,
	InputArray confidence,
	OutputArray dst,
	double sigmaSpatial = 8,
	double sigmaLuma = 8,
	double sigmaChroma = 8,
	double lambda = 128,
	int numIter = 25,
	double maxTol = 1E-05
)

Parameters

guide
Type: OpenCvSharpInputArray
image serving as guide for filtering. It should have 8-bit depth and either 1 or 3 channels.
src
Type: OpenCvSharpInputArray
source image for filtering with unsigned 8-bit or signed 16-bit or floating-point 32-bit depth and up to 4 channels.
confidence
Type: OpenCvSharpInputArray
confidence image with unsigned 8-bit or floating-point 32-bit confidence and 1 channel.
dst
Type: OpenCvSharpOutputArray
destination image.
sigmaSpatial (Optional)
Type: SystemDouble
parameter, that is similar to spatial space sigma (bandwidth) in bilateralFilter.
sigmaLuma (Optional)
Type: SystemDouble
parameter, that is similar to luma space sigma (bandwidth) in bilateralFilter.
sigmaChroma (Optional)
Type: SystemDouble
parameter, that is similar to chroma space sigma (bandwidth) in bilateralFilter.
lambda (Optional)
Type: SystemDouble
smoothness strength parameter for solver.
numIter (Optional)
Type: SystemInt32
number of iterations used for solver, 25 is usually enough.
maxTol (Optional)
Type: SystemDouble
convergence tolerance used for solver.
See Also