Table of Contents

Class CudaLinearFilter

Namespace
Emgu.CV.Cuda
Assembly
Emgu.CV.dll

Applies arbitrary linear filter to the image. In-place operation is supported. When the aperture is partially outside the image, the function interpolates outlier pixel values from the nearest pixels that is inside the image

public class CudaLinearFilter : CudaFilter, IDisposable
Inheritance
CudaLinearFilter
Implements
Inherited Members

Constructors

CudaLinearFilter(DepthType, int, DepthType, int, IInputArray, Point, BorderType, MCvScalar)

Create a Gpu LinearFilter

public CudaLinearFilter(DepthType srcDepth, int srcChannels, DepthType dstDepth, int dstChannels, IInputArray kernel, Point anchor, BorderType borderType = BorderType.Default, MCvScalar borderValue = default)

Parameters

srcDepth DepthType

The depth type of the source image

srcChannels int

The number of channels in the source image

dstDepth DepthType

The depth type of the dest image

dstChannels int

The number of channels in the dest image

kernel IInputArray

Convolution kernel, single-channel floating point matrix (e.g. Emgu.CV.Matrix). If you want to apply different kernels to different channels, split the gpu image into separate color planes and process them individually

anchor Point

The anchor of the kernel that indicates the relative position of a filtered point within the kernel. The anchor shoud lie within the kernel. The special default value (-1,-1) means that it is at the kernel center

borderType BorderType

Border type. Use REFLECT101 as default.

borderValue MCvScalar

The border value