模态,用于从彩色图像计算量化的梯度方向。 更多...
#include <opencv2/rgbd/linemod.hpp>
◆ ColorGradient() [1/2]
cv::linemod::ColorGradient::ColorGradient |
( |
| ) |
|
◆ ColorGradient() [2/2]
cv::linemod::ColorGradient::ColorGradient |
( |
float |
weak_threshold, |
|
|
size_t |
num_features, |
|
|
float |
strong_threshold |
|
) |
| |
构造函数。
- 参数
-
weak_threshold | 量化时,丢弃幅度小于此值的梯度。 |
num_features | 模板必须包含多少个特征。 |
strong_threshold | 仅将范数大于此值的梯度视为候选特征。 |
◆ create()
static Ptr< ColorGradient > cv::linemod::ColorGradient::create |
( |
float |
weak_threshold, |
|
|
size_t |
num_features, |
|
|
float |
strong_threshold |
|
) |
| |
|
static |
Python |
---|
| cv.linemod.ColorGradient.create( | weak_threshold, num_features, strong_threshold | ) -> | retval |
| cv.linemod.ColorGradient_create( | weak_threshold, num_features, strong_threshold | ) -> | retval |
◆ name()
virtual String cv::linemod::ColorGradient::name |
( |
| ) |
const |
|
virtual |
◆ processImpl()
◆ read()
virtual void cv::linemod::ColorGradient::read |
( |
const FileNode & |
fn | ) |
|
|
virtual |
◆ write()
virtual void cv::linemod::ColorGradient::write |
( |
FileStorage & |
fs | ) |
const |
|
virtual |
◆ num_features
size_t cv::linemod::ColorGradient::num_features |
◆ strong_threshold
float cv::linemod::ColorGradient::strong_threshold |
◆ weak_threshold
float cv::linemod::ColorGradient::weak_threshold |
此类的文档是从以下文件生成的