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
MatInput image
keylines
VectorOfKeyLineVector containing lines for which descriptors must be computed
descriptors
MatComputed descriptors will be stored here
returnFloatDescr
boolWhen 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
MatInput image
keylines
VectorOfKeyLineVector that will store extracted lines for one or more images
mask
MatMask matrix to detect only KeyLines of interest
DisposeObject()
Release unmanaged memory associated with this binary descriptor
protected override void DisposeObject()