| CvXImgProcGuidedFilter Method |
Simple one-line Guided Filter call.
If you have multiple images to filter with the same guided image then use GuidedFilter interface to
avoid extra computations on initialization stage.
Namespace:
OpenCvSharp.XImgProc
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static void GuidedFilter(
InputArray guide,
InputArray src,
OutputArray dst,
int radius,
double eps,
int dDepth = -1
)
Public Shared Sub GuidedFilter (
guide As InputArray,
src As InputArray,
dst As OutputArray,
radius As Integer,
eps As Double,
Optional dDepth As Integer = -1
)
public:
static void GuidedFilter(
InputArray^ guide,
InputArray^ src,
OutputArray^ dst,
int radius,
double eps,
int dDepth = -1
)
static member GuidedFilter :
guide : InputArray *
src : InputArray *
dst : OutputArray *
radius : int *
eps : float *
?dDepth : int
(* Defaults:
let _dDepth = defaultArg dDepth -1
*)
-> unit
Parameters
- guide
- Type: OpenCvSharpInputArray
guided image (or array of images) with up to 3 channels, if it have more then 3
channels then only first 3 channels will be used. - src
- Type: OpenCvSharpInputArray
filtering image with any numbers of channels. - dst
- Type: OpenCvSharpOutputArray
output image. - radius
- Type: SystemInt32
radius of Guided Filter. - eps
- Type: SystemDouble
regularization term of Guided Filter. eps^2 is similar to the sigma in the color
space into bilateralFilter. - dDepth (Optional)
- Type: SystemInt32
optional depth of the output image.
See Also