| FastBilateralSolverFilterCreate Method |
Factory method, create instance of FastBilateralSolverFilter and execute the initialization routines.
Namespace:
OpenCvSharp.XImgProc
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static FastBilateralSolverFilter Create(
InputArray guide,
double sigmaSpatial,
double sigmaLuma,
double sigmaChroma,
double lambda = 128,
int numIter = 25,
double maxTol = 1E-05
)
Public Shared Function Create (
guide As InputArray,
sigmaSpatial As Double,
sigmaLuma As Double,
sigmaChroma As Double,
Optional lambda As Double = 128,
Optional numIter As Integer = 25,
Optional maxTol As Double = 1E-05
) As FastBilateralSolverFilter
public:
static FastBilateralSolverFilter^ Create(
InputArray^ guide,
double sigmaSpatial,
double sigmaLuma,
double sigmaChroma,
double lambda = 128,
int numIter = 25,
double maxTol = 1E-05
)
static member Create :
guide : InputArray *
sigmaSpatial : float *
sigmaLuma : float *
sigmaChroma : float *
?lambda : float *
?numIter : int *
?maxTol : float
(* Defaults:
let _lambda = defaultArg lambda 128
let _numIter = defaultArg numIter 25
let _maxTol = defaultArg maxTol 1E-05
*)
-> FastBilateralSolverFilter
Parameters
- guide
- Type: OpenCvSharpInputArray
image serving as guide for filtering. It should have 8-bit depth and either 1 or 3 channels. - sigmaSpatial
- Type: SystemDouble
parameter, that is similar to spatial space sigma (bandwidth) in bilateralFilter. - sigmaLuma
- Type: SystemDouble
parameter, that is similar to luma space sigma (bandwidth) in bilateralFilter. - sigmaChroma
- 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.
Return Value
Type:
FastBilateralSolverFilter[Missing <returns> documentation for "M:OpenCvSharp.XImgProc.FastBilateralSolverFilter.Create(OpenCvSharp.InputArray,System.Double,System.Double,System.Double,System.Double,System.Int32,System.Double)"]
See Also