Table of Contents

Class Filter2DParams

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Parameters for the OpenCV 5 Filter2D(InputArray, OutputArray, InputArray, Filter2DParams?) overload. Mirrors cv::Filter2DParams; all fields are optional and default to the OpenCV defaults.

public class Filter2DParams
Inheritance
Filter2DParams
Inherited Members

Properties

AnchorX

Anchor X. -1 means the anchor is at the kernel center.

public int AnchorX { get; set; }

Property Value

int

AnchorY

Anchor Y. -1 means the anchor is at the kernel center.

public int AnchorY { get; set; }

Property Value

int

BorderType

Pixel extrapolation method.

public BorderTypes BorderType { get; set; }

Property Value

BorderTypes

BorderValue

Border value used in case of a constant border.

public Scalar BorderValue { get; set; }

Property Value

Scalar

Ddepth

Desired depth of the destination image. -1 means the same depth as the source.

public int Ddepth { get; set; }

Property Value

int

Scale

Optional scale factor applied to the filtered pixels.

public double Scale { get; set; }

Property Value

double

Shift

Optional value added to the filtered pixels.

public double Shift { get; set; }

Property Value

double