Table of Contents

Class CudaCannyEdgeDetector

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

Cascade Classifier for object detection using Cuda

public class CudaCannyEdgeDetector : SharedPtrObject, IDisposable
Inheritance
CudaCannyEdgeDetector
Implements
Inherited Members

Constructors

CudaCannyEdgeDetector(double, double, int, bool)

Canny edge detector using Cuda.

public CudaCannyEdgeDetector(double lowThreshold, double highThreshold, int apertureSize = 3, bool L2gradient = false)

Parameters

lowThreshold double

The first threshold, used for edge linking

highThreshold double

The second threshold, used to find initial segments of strong edges

apertureSize int

Aperture parameter for Sobel operator, use 3 for default

L2gradient bool

Use false for default

Methods

Detect(IInputArray, IOutputArray, Stream)

Finds the edges on the input src and marks them in the output image edges using the Canny algorithm.

public void Detect(IInputArray src, IOutputArray edges, Stream stream = null)

Parameters

src IInputArray

Input image

edges IOutputArray

Image to store the edges found by the function

stream Stream

Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).

DisposeObject()

Release all the unmanaged memory associate with this Canny edge detector.

protected override void DisposeObject()