| 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
)
Public Shared Sub FastBilateralSolverFilter (
guide As InputArray,
src As InputArray,
confidence As InputArray,
dst As OutputArray,
Optional sigmaSpatial As Double = 8,
Optional sigmaLuma As Double = 8,
Optional sigmaChroma As Double = 8,
Optional lambda As Double = 128,
Optional numIter As Integer = 25,
Optional maxTol As Double = 1E-05
)
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
)
static member FastBilateralSolverFilter :
guide : InputArray *
src : InputArray *
confidence : InputArray *
dst : OutputArray *
?sigmaSpatial : float *
?sigmaLuma : float *
?sigmaChroma : float *
?lambda : float *
?numIter : int *
?maxTol : float
(* Defaults:
let _sigmaSpatial = defaultArg sigmaSpatial 8
let _sigmaLuma = defaultArg sigmaLuma 8
let _sigmaChroma = defaultArg sigmaChroma 8
let _lambda = defaultArg lambda 128
let _numIter = defaultArg numIter 25
let _maxTol = defaultArg maxTol 1E-05
*)
-> unit
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