| FastGlobalSmootherFilterCreate Method |
Factory method, create instance of FastGlobalSmootherFilter and execute the initialization routines.
Namespace:
OpenCvSharp.XImgProc
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static FastGlobalSmootherFilter Create(
InputArray guide,
double lambda,
double sigmaColor,
double lambdaAttenuation = 0.25,
int numIter = 3
)
Public Shared Function Create (
guide As InputArray,
lambda As Double,
sigmaColor As Double,
Optional lambdaAttenuation As Double = 0.25,
Optional numIter As Integer = 3
) As FastGlobalSmootherFilter
public:
static FastGlobalSmootherFilter^ Create(
InputArray^ guide,
double lambda,
double sigmaColor,
double lambdaAttenuation = 0.25,
int numIter = 3
)
static member Create :
guide : InputArray *
lambda : float *
sigmaColor : float *
?lambdaAttenuation : float *
?numIter : int
(* Defaults:
let _lambdaAttenuation = defaultArg lambdaAttenuation 0.25
let _numIter = defaultArg numIter 3
*)
-> FastGlobalSmootherFilter
Parameters
- guide
- Type: OpenCvSharpInputArray
image serving as guide for filtering. It should have 8-bit depth and either 1 or 3 channels. - lambda
- Type: SystemDouble
parameter defining the amount of regularization - sigmaColor
- Type: SystemDouble
parameter, that is similar to color space sigma in bilateralFilter. - lambdaAttenuation (Optional)
- Type: SystemDouble
internal parameter, defining how much lambda decreases after each iteration. Normally,
it should be 0.25. Setting it to 1.0 may lead to streaking artifacts. - numIter (Optional)
- Type: SystemInt32
number of iterations used for filtering, 3 is usually enough.
Return Value
Type:
FastGlobalSmootherFilter[Missing <returns> documentation for "M:OpenCvSharp.XImgProc.FastGlobalSmootherFilter.Create(OpenCvSharp.InputArray,System.Double,System.Double,System.Double,System.Int32)"]
See Also