Cv2BilateralFilter Method
|
Applies bilateral filter to the image
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic static void BilateralFilter(
InputArray src,
OutputArray dst,
int d,
double sigmaColor,
double sigmaSpace,
BorderTypes borderType = BorderTypes.Reflect101
)
Public Shared Sub BilateralFilter (
src As InputArray,
dst As OutputArray,
d As Integer,
sigmaColor As Double,
sigmaSpace As Double,
Optional borderType As BorderTypes = BorderTypes.Reflect101
)
public:
static void BilateralFilter(
InputArray^ src,
OutputArray^ dst,
int d,
double sigmaColor,
double sigmaSpace,
BorderTypes borderType = BorderTypes::Reflect101
)
static member BilateralFilter :
src : InputArray *
dst : OutputArray *
d : int *
sigmaColor : float *
sigmaSpace : float *
?borderType : BorderTypes
(* Defaults:
let _borderType = defaultArg borderType BorderTypes.Reflect101
*)
-> unit
OpenCvSharp.Cv2.BilateralFilter = function(src, dst, d, sigmaColor, sigmaSpace, borderType);
Parameters
- src
- Type: OpenCvSharpInputArray
The source 8-bit or floating-point, 1-channel or 3-channel image - dst
- Type: OpenCvSharpOutputArray
The destination image; will have the same size and the same type as src - d
- Type: SystemInt32
The diameter of each pixel neighborhood, that is used during filtering.
If it is non-positive, it's computed from sigmaSpace - sigmaColor
- Type: SystemDouble
Filter sigma in the color space.
Larger value of the parameter means that farther colors within the pixel neighborhood
will be mixed together, resulting in larger areas of semi-equal color - sigmaSpace
- Type: SystemDouble
Filter sigma in the coordinate space.
Larger value of the parameter means that farther pixels will influence each other
(as long as their colors are close enough; see sigmaColor). Then d>0 , it specifies
the neighborhood size regardless of sigmaSpace, otherwise d is proportional to sigmaSpace - borderType (Optional)
- Type: OpenCvSharpBorderTypes
See Also