Objectness 算法基于 [3] [3] Cheng, Ming-Ming, et al. "BING: Binarized normed gradients for objectness estimation at 300fps." IEEE CVPR. 2014. 更多...
#include <opencv2/saliency/saliencySpecializedClasses.hpp>
Objectness 算法基于 [3] [3] Cheng, Ming-Ming, et al. "BING: Binarized normed gradients for objectness estimation at 300fps." IEEE CVPR. 2014.
来自 [54] 的二值化规范化梯度算法
◆ ObjectnessBING()
cv::saliency::ObjectnessBING::ObjectnessBING |
( |
| ) |
|
◆ ~ObjectnessBING()
virtual cv::saliency::ObjectnessBING::~ObjectnessBING |
( |
| ) |
|
|
virtual |
◆ computeSaliency()
Python |
---|
| cv.saliency.ObjectnessBING.computeSaliency( | image[, saliencyMap] | ) -> | retval, saliencyMap |
◆ computeSaliencyImpl()
bool cv::saliency::ObjectnessBING::computeSaliencyImpl |
( |
InputArray |
image, |
|
|
OutputArray |
objectnessBoundingBox |
|
) |
| |
|
protectedvirtual |
执行二值化规范化梯度算法完成所需的所有操作并调用所有内部函数。
- 参数
-
image | 输入图像。根据此专用算法的需要,param 图像是一个单一的 Mat |
objectnessBoundingBox | 目标性边界框向量。根据此专用算法给出的结果,objectnessBoundingBox 是一个 vector<Vec4i>。每个边界框由一个 Vec4i 表示,用于 (minX, minY, maxX, maxY)。 |
实现 cv::saliency::Objectness.
◆ create()
Python |
---|
| cv.saliency.ObjectnessBING.create( | | ) -> | retval |
| cv.saliency.ObjectnessBING_create( | | ) -> | retval |
◆ getBase()
double cv::saliency::ObjectnessBING::getBase |
( |
| ) |
const |
|
inline |
Python |
---|
| cv.saliency.ObjectnessBING.getBase( | | ) -> | retval |
◆ getNSS()
int cv::saliency::ObjectnessBING::getNSS |
( |
| ) |
const |
|
inline |
Python |
---|
| cv.saliency.ObjectnessBING.getNSS( | | ) -> | retval |
◆ getobjectnessValues()
std::vector< float > cv::saliency::ObjectnessBING::getobjectnessValues |
( |
| ) |
|
Python |
---|
| cv.saliency.ObjectnessBING.getobjectnessValues( | | ) -> | retval |
返回矩形目标性值的列表。
与算法返回的 vector<Vec4i> objectnessBoundingBox 相同的顺序(在 computeSaliencyImpl 函数中)。这些分数的值越大,它更有可能是目标窗口。
◆ getW()
int cv::saliency::ObjectnessBING::getW |
( |
| ) |
const |
|
inline |
Python |
---|
| cv.saliency.ObjectnessBING.getW( | | ) -> | retval |
◆ read()
void cv::saliency::ObjectnessBING::read |
( |
| ) |
|
Python |
---|
| cv.saliency.ObjectnessBING.read( | | ) -> | None |
◆ setBase()
void cv::saliency::ObjectnessBING::setBase |
( |
double |
val | ) |
|
|
inline |
Python |
---|
| cv.saliency.ObjectnessBING.setBase( | val | ) -> | None |
◆ setBBResDir()
void cv::saliency::ObjectnessBING::setBBResDir |
( |
const String & |
resultsDir | ) |
|
Python |
---|
| cv.saliency.ObjectnessBING.setBBResDir( | resultsDir | ) -> | None |
这是一个实用程序函数,允许设置算法将保存可选结果的任意路径。
(例如,将目标性返回的矩形的总数和列表写入文件,每行一个)。
- 参数
-
◆ setNSS()
void cv::saliency::ObjectnessBING::setNSS |
( |
int |
val | ) |
|
|
inline |
Python |
---|
| cv.saliency.ObjectnessBING.setNSS( | val | ) -> | None |
◆ setTrainingPath()
void cv::saliency::ObjectnessBING::setTrainingPath |
( |
const String & |
trainingPath | ) |
|
Python |
---|
| cv.saliency.ObjectnessBING.setTrainingPath( | trainingPath | ) -> | None |
这是一个实用程序函数,允许设置算法将加载训练模型的正确路径。
- 参数
-
◆ setW()
void cv::saliency::ObjectnessBING::setW |
( |
int |
val | ) |
|
|
inline |
Python |
---|
| cv.saliency.ObjectnessBING.setW( | val | ) -> | None |
◆ write()
void cv::saliency::ObjectnessBING::write |
( |
| ) |
const |
Python |
---|
| cv.saliency.ObjectnessBING.write( | | ) -> | None |
此类的文档是从以下文件生成的