Table of Contents

Class BinaryDescriptor

Namespace
Emgu.CV.LineDescriptor
Assembly
Emgu.CV.dll

Class implements both functionality for detection of lines and computation of their binary descriptor.

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

Constructors

BinaryDescriptor()

Default constructor

public BinaryDescriptor()

Methods

Compute(Mat, VectorOfKeyLine, Mat, bool)

Descriptors computation.

public void Compute(Mat image, VectorOfKeyLine keylines, Mat descriptors, bool returnFloatDescr = false)

Parameters

image Mat

Input image

keylines VectorOfKeyLine

Vector containing lines for which descriptors must be computed

descriptors Mat

Computed descriptors will be stored here

returnFloatDescr bool

When true, original non-binary descriptors are returned

Detect(Mat, VectorOfKeyLine, Mat)

Line detection.

public void Detect(Mat image, VectorOfKeyLine keylines, Mat mask = null)

Parameters

image Mat

Input image

keylines VectorOfKeyLine

Vector that will store extracted lines for one or more images

mask Mat

Mask matrix to detect only KeyLines of interest

DisposeObject()

Release unmanaged memory associated with this binary descriptor

protected override void DisposeObject()