Class EdgeBoxes
Class implementing EdgeBoxes algorithm from @cite ZitnickECCV14edgeBoxes
Implements
Inherited Members
Namespace: OpenCvSharp.XImgProc
Assembly: OpenCvSharp.dll
Syntax
public class EdgeBoxes : Algorithm, ICvPtrHolder
Constructors
| Improve this Doc View SourceEdgeBoxes(IntPtr)
Creates instance by raw pointer
Declaration
protected EdgeBoxes(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | p |
Properties
| Improve this Doc View SourceAlpha
Gets or sets the step size of sliding window search.
Declaration
public virtual float Alpha { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Beta
Gets or sets the nms threshold for object proposals.
Declaration
public virtual float Beta { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
ClusterMinMag
Gets or sets the cluster min magnitude.
Declaration
public virtual float ClusterMinMag { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
EdgeMergeThr
Gets or sets the edge merge threshold.
Declaration
public virtual float EdgeMergeThr { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
EdgeMinMag
Gets or sets the edge min magnitude.
Declaration
public virtual float EdgeMinMag { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Eta
Gets or sets adaptation rate for nms threshold.
Declaration
public virtual float Eta { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Gamma
Gets or sets the affinity sensitivity.
Declaration
public virtual float Gamma { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Kappa
Gets or sets the scale sensitivity.
Declaration
public virtual float Kappa { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
MaxAspectRatio
Gets or sets the max aspect ratio of boxes.
Declaration
public virtual float MaxAspectRatio { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
MaxBoxes
Gets or sets the max number of boxes to detect.
Declaration
public virtual int MaxBoxes { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MinBoxArea
Gets or sets the minimum area of boxes.
Declaration
public virtual float MinBoxArea { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
MinScore
Gets or sets the min score of boxes to detect.
Declaration
public virtual float MinScore { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
| Improve this Doc View SourceCreate(Single, Single, Single, Single, Int32, Single, Single, Single, Single, Single, Single, Single)
Creates a EdgeBoxes
Declaration
public static EdgeBoxes Create(float alpha = 0.65F, float beta = 0.75F, float eta = 1F, float minScore = 0.01F, int maxBoxes = 10000, float edgeMinMag = 0.1F, float edgeMergeThr = 0.5F, float clusterMinMag = 0.5F, float maxAspectRatio = 3F, float minBoxArea = 1000F, float gamma = 2F, float kappa = 1.5F)
Parameters
Type | Name | Description |
---|---|---|
System.Single | alpha | step size of sliding window search. |
System.Single | beta | nms threshold for object proposals. |
System.Single | eta | adaptation rate for nms threshold. |
System.Single | minScore | min score of boxes to detect. |
System.Int32 | maxBoxes | max number of boxes to detect. |
System.Single | edgeMinMag | edge min magnitude. Increase to trade off accuracy for speed. |
System.Single | edgeMergeThr | edge merge threshold. Increase to trade off accuracy for speed. |
System.Single | clusterMinMag | cluster min magnitude. Increase to trade off accuracy for speed. |
System.Single | maxAspectRatio | max aspect ratio of boxes. |
System.Single | minBoxArea | minimum area of boxes. |
System.Single | gamma | affinity sensitivity. |
System.Single | kappa | scale sensitivity. |
Returns
Type | Description |
---|---|
EdgeBoxes |
DisposeManaged()
Releases managed resources
Declaration
protected override void DisposeManaged()
Overrides
| Improve this Doc View SourceGetBoundingBoxes(InputArray, InputArray, out Rect[])
Returns array containing proposal boxes.
Declaration
public virtual void GetBoundingBoxes(InputArray edgeMap, InputArray orientationMap, out Rect[] boxes)
Parameters
Type | Name | Description |
---|---|---|
InputArray | edgeMap | edge image. |
InputArray | orientationMap | orientation map. |
OpenCvSharp.Rect[] | boxes | proposal boxes. |