Class EdgeBoxes
- Namespace
- OpenCvSharp.XImgProc
- Assembly
- OpenCvSharp.dll
Class implementing EdgeBoxes algorithm from @cite ZitnickECCV14edgeBoxes
public class EdgeBoxes : Algorithm, IDisposable, ICvPtrHolder
- Inheritance
-
EdgeBoxes
- Implements
- Inherited Members
Constructors
EdgeBoxes(nint)
Creates instance by raw pointer
protected EdgeBoxes(nint p)
Parameters
pnint
Properties
Alpha
Gets or sets the step size of sliding window search.
public virtual float Alpha { get; set; }
Property Value
Beta
Gets or sets the nms threshold for object proposals.
public virtual float Beta { get; set; }
Property Value
ClusterMinMag
Gets or sets the cluster min magnitude.
public virtual float ClusterMinMag { get; set; }
Property Value
EdgeMergeThr
Gets or sets the edge merge threshold.
public virtual float EdgeMergeThr { get; set; }
Property Value
EdgeMinMag
Gets or sets the edge min magnitude.
public virtual float EdgeMinMag { get; set; }
Property Value
Eta
Gets or sets adaptation rate for nms threshold.
public virtual float Eta { get; set; }
Property Value
Gamma
Gets or sets the affinity sensitivity.
public virtual float Gamma { get; set; }
Property Value
Kappa
Gets or sets the scale sensitivity.
public virtual float Kappa { get; set; }
Property Value
MaxAspectRatio
Gets or sets the max aspect ratio of boxes.
public virtual float MaxAspectRatio { get; set; }
Property Value
MaxBoxes
Gets or sets the max number of boxes to detect.
public virtual int MaxBoxes { get; set; }
Property Value
MinBoxArea
Gets or sets the minimum area of boxes.
public virtual float MinBoxArea { get; set; }
Property Value
MinScore
Gets or sets the min score of boxes to detect.
public virtual float MinScore { get; set; }
Property Value
Methods
Create(float, float, float, float, int, float, float, float, float, float, float, float)
Creates a EdgeBoxes
public static EdgeBoxes Create(float alpha = 0.65, float beta = 0.75, float eta = 1, float minScore = 0.01, int maxBoxes = 10000, float edgeMinMag = 0.1, float edgeMergeThr = 0.5, float clusterMinMag = 0.5, float maxAspectRatio = 3, float minBoxArea = 1000, float gamma = 2, float kappa = 1.5)
Parameters
alphafloatstep size of sliding window search.
betafloatnms threshold for object proposals.
etafloatadaptation rate for nms threshold.
minScorefloatmin score of boxes to detect.
maxBoxesintmax number of boxes to detect.
edgeMinMagfloatedge min magnitude. Increase to trade off accuracy for speed.
edgeMergeThrfloatedge merge threshold. Increase to trade off accuracy for speed.
clusterMinMagfloatcluster min magnitude. Increase to trade off accuracy for speed.
maxAspectRatiofloatmax aspect ratio of boxes.
minBoxAreafloatminimum area of boxes.
gammafloataffinity sensitivity.
kappafloatscale sensitivity.
Returns
DisposeManaged()
Releases managed resources
protected override void DisposeManaged()
GetBoundingBoxes(InputArray, InputArray, out Rect[])
Returns array containing proposal boxes.
public virtual void GetBoundingBoxes(InputArray edgeMap, InputArray orientationMap, out Rect[] boxes)
Parameters
edgeMapInputArrayedge image.
orientationMapInputArrayorientation map.
boxesRect[]proposal boxes.