| MatBoxFilter Method |
Smoothes image using box filter
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public Mat BoxFilter(
MatType ddepth,
Size ksize,
Nullable<Point> anchor = null,
bool normalize = true,
BorderTypes borderType = BorderTypes.Reflect101
)
Public Function BoxFilter (
ddepth As MatType,
ksize As Size,
Optional anchor As Nullable(Of Point) = Nothing,
Optional normalize As Boolean = true,
Optional borderType As BorderTypes = BorderTypes.Reflect101
) As Mat
public:
Mat^ BoxFilter(
MatType ddepth,
Size ksize,
Nullable<Point> anchor = nullptr,
bool normalize = true,
BorderTypes borderType = BorderTypes::Reflect101
)
member BoxFilter :
ddepth : MatType *
ksize : Size *
?anchor : Nullable<Point> *
?normalize : bool *
?borderType : BorderTypes
(* Defaults:
let _anchor = defaultArg anchor null
let _normalize = defaultArg normalize true
let _borderType = defaultArg borderType BorderTypes.Reflect101
*)
-> Mat
Parameters
- ddepth
- Type: OpenCvSharpMatType
[Missing <param name="ddepth"/> documentation for "M:OpenCvSharp.Mat.BoxFilter(OpenCvSharp.MatType,OpenCvSharp.Size,System.Nullable{OpenCvSharp.Point},System.Boolean,OpenCvSharp.BorderTypes)"]
- ksize
- Type: OpenCvSharpSize
The smoothing kernel size - anchor (Optional)
- Type: SystemNullablePoint
The anchor point. The default value Point(-1,-1) means that the anchor is at the kernel center - normalize (Optional)
- Type: SystemBoolean
Indicates, whether the kernel is normalized by its area or not - borderType (Optional)
- Type: OpenCvSharpBorderTypes
The border mode used to extrapolate pixels outside of the image
Return Value
Type:
MatThe destination image; will have the same size and the same type as src
See Also