|  | Cv2Filter2D Method  | 
 
            Convolves an image with the kernel
            
 
    Namespace: 
   OpenCvSharp
    Assembly:
   OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
 Syntax
Syntaxpublic static void Filter2D(
	InputArray src,
	OutputArray dst,
	MatType ddepth,
	InputArray kernel,
	Nullable<Point> anchor = null,
	double delta = 0,
	BorderTypes borderType = BorderTypes.Reflect101
)
Public Shared Sub Filter2D ( 
	src As InputArray,
	dst As OutputArray,
	ddepth As MatType,
	kernel As InputArray,
	Optional anchor As Nullable(Of Point) = Nothing,
	Optional delta As Double = 0,
	Optional borderType As BorderTypes = BorderTypes.Reflect101
)
public:
static void Filter2D(
	InputArray^ src, 
	OutputArray^ dst, 
	MatType ddepth, 
	InputArray^ kernel, 
	Nullable<Point> anchor = nullptr, 
	double delta = 0, 
	BorderTypes borderType = BorderTypes::Reflect101
)
static member Filter2D : 
        src : InputArray * 
        dst : OutputArray * 
        ddepth : MatType * 
        kernel : InputArray * 
        ?anchor : Nullable<Point> * 
        ?delta : float * 
        ?borderType : BorderTypes 
(* Defaults:
        let _anchor = defaultArg anchor null
        let _delta = defaultArg delta 0
        let _borderType = defaultArg borderType BorderTypes.Reflect101
*)
-> unit 
Parameters
- src
- Type: OpenCvSharpInputArray
 The source image
- dst
- Type: OpenCvSharpOutputArray
 The destination image. It will have the same size and the same number of channels as src
- ddepth
- Type: OpenCvSharpMatType
 The desired depth of the destination image. If it is negative, it will be the same as src.depth()
- kernel
- Type: OpenCvSharpInputArray
 Convolution kernel (or rather a correlation kernel), 
            a single-channel floating point matrix. If you want to apply different kernels to 
            different channels, split the image into separate color planes using split() and process them individually
- anchor (Optional)
- Type: SystemNullablePoint
 The anchor of the kernel that indicates the relative position of 
            a filtered point within the kernel. The anchor should lie within the kernel. 
            The special default value (-1,-1) means that the anchor is at the kernel center
- delta (Optional)
- Type: SystemDouble
 The optional value added to the filtered pixels before storing them in dst
- borderType (Optional)
- Type: OpenCvSharpBorderTypes
 The pixel extrapolation method
 See Also
See Also