public class EdgeBoxes extends Algorithm
Modifier | Constructor and Description |
---|---|
protected |
EdgeBoxes(long addr) |
Modifier and Type | Method and Description |
---|---|
static EdgeBoxes |
__fromPtr__(long addr) |
protected void |
finalize() |
float |
getAlpha()
Returns the step size of sliding window search.
|
float |
getBeta()
Returns the nms threshold for object proposals.
|
void |
getBoundingBoxes(Mat edge_map,
Mat orientation_map,
MatOfRect boxes)
Returns array containing proposal boxes.
|
void |
getBoundingBoxes(Mat edge_map,
Mat orientation_map,
MatOfRect boxes,
Mat scores)
Returns array containing proposal boxes.
|
float |
getClusterMinMag()
Returns the cluster min magnitude.
|
float |
getEdgeMergeThr()
Returns the edge merge threshold.
|
float |
getEdgeMinMag()
Returns the edge min magnitude.
|
float |
getEta()
Returns adaptation rate for nms threshold.
|
float |
getGamma()
Returns the affinity sensitivity.
|
float |
getKappa()
Returns the scale sensitivity.
|
float |
getMaxAspectRatio()
Returns the max aspect ratio of boxes.
|
int |
getMaxBoxes()
Returns the max number of boxes to detect.
|
float |
getMinBoxArea()
Returns the minimum area of boxes.
|
float |
getMinScore()
Returns the min score of boxes to detect.
|
void |
setAlpha(float value)
Sets the step size of sliding window search.
|
void |
setBeta(float value)
Sets the nms threshold for object proposals.
|
void |
setClusterMinMag(float value)
Sets the cluster min magnitude.
|
void |
setEdgeMergeThr(float value)
Sets the edge merge threshold.
|
void |
setEdgeMinMag(float value)
Sets the edge min magnitude.
|
void |
setEta(float value)
Sets the adaptation rate for nms threshold.
|
void |
setGamma(float value)
Sets the affinity sensitivity
|
void |
setKappa(float value)
Sets the scale sensitivity.
|
void |
setMaxAspectRatio(float value)
Sets the max aspect ratio of boxes.
|
void |
setMaxBoxes(int value)
Sets max number of boxes to detect.
|
void |
setMinBoxArea(float value)
Sets the minimum area of boxes.
|
void |
setMinScore(float value)
Sets the min score of boxes to detect.
|
clear, empty, getDefaultName, getNativeObjAddr, save
public static EdgeBoxes __fromPtr__(long addr)
public float getAlpha()
public float getBeta()
public float getClusterMinMag()
public float getEdgeMergeThr()
public float getEdgeMinMag()
public float getEta()
public float getGamma()
public float getKappa()
public float getMaxAspectRatio()
public float getMinBoxArea()
public float getMinScore()
public int getMaxBoxes()
public void getBoundingBoxes(Mat edge_map, Mat orientation_map, MatOfRect boxes, Mat scores)
edge_map
- edge image.orientation_map
- orientation map.boxes
- proposal boxes.scores
- of the proposal boxes, provided a vector of float types.public void getBoundingBoxes(Mat edge_map, Mat orientation_map, MatOfRect boxes)
edge_map
- edge image.orientation_map
- orientation map.boxes
- proposal boxes.public void setAlpha(float value)
value
- automatically generatedpublic void setBeta(float value)
value
- automatically generatedpublic void setClusterMinMag(float value)
value
- automatically generatedpublic void setEdgeMergeThr(float value)
value
- automatically generatedpublic void setEdgeMinMag(float value)
value
- automatically generatedpublic void setEta(float value)
value
- automatically generatedpublic void setGamma(float value)
value
- automatically generatedpublic void setKappa(float value)
value
- automatically generatedpublic void setMaxAspectRatio(float value)
value
- automatically generatedpublic void setMaxBoxes(int value)
value
- automatically generatedpublic void setMinBoxArea(float value)
value
- automatically generatedpublic void setMinScore(float value)
value
- automatically generatedGenerated on Wed Oct 9 2019 23:24:43 UTC / OpenCV 4.1.2