Table of Contents

Class EdgeBoxes

Namespace
Emgu.CV.XImgproc
Assembly
Emgu.CV.dll

Class implementing EdgeBoxes algorithm from C. Lawrence Zitnick and Piotr Dollár. Edge boxes: Locating object proposals from edges. In ECCV, 2014.

public class EdgeBoxes : SharedPtrObject, IDisposable, IAlgorithm
Inheritance
EdgeBoxes
Implements
Inherited Members
Extension Methods

Constructors

EdgeBoxes(float, float, float, float, int, float, float, float, float, float, float, float)

Create an EdgeBox

public EdgeBoxes(float alpha = 0.65, float beta = 0.75, float eta = 1, float minScore = 0.01, int maxBoxes = 10000, float edgeMinMag = 1, float edgeMergeThr = 0.5, float clusterMinMag = 0.5, float maxAspectRatio = 3, float minBoxArea = 1000, float gamma = 2, float kappa = 1.5)

Parameters

alpha float

Step size of sliding window search.

beta float

Nms threshold for object proposals.

eta float

Adaptation rate for nms threshold.

minScore float

Min score of boxes to detect.

maxBoxes int

Max number of boxes to detect.

edgeMinMag float

Edge min magnitude. Increase to trade off accuracy for speed.

edgeMergeThr float

Edge merge threshold. Increase to trade off accuracy for speed.

clusterMinMag float

Cluster min magnitude. Increase to trade off accuracy for speed.

maxAspectRatio float

Max aspect ratio of boxes.

minBoxArea float

Minimum area of boxes.

gamma float

Affinity sensitivity.

kappa float

Scale sensitivity.

Properties

AlgorithmPtr

Pointer to cv::Algorithm

public nint AlgorithmPtr { get; }

Property Value

nint

Methods

DisposeObject()

protected override void DisposeObject()

GetBoundingBoxes(IInputArray, IInputArray)

Returns array containing proposal boxes.

public Rectangle[] GetBoundingBoxes(IInputArray edgeMap, IInputArray orientationMap)

Parameters

edgeMap IInputArray

edge image.

orientationMap IInputArray

orientation map.

Returns

Rectangle[]

Proposal boxes.