模態,用於從彩色影像計算量化的梯度方向。 更多...
#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 |
此類文件由以下檔案生成