前哨、基地的引导灯
更多...
#include <rmvl/feature/pilot.h>
◆ const_ptr
◆ ptr
◆ cast() [1/2]
◆ cast() [2/2]
◆ clone()
Python: |
---|
| rm.Pilot.clone( | | ) -> | <rm.Pilot object> |
◆ make_feature() [1/2]
static ptr rm::Pilot::make_feature |
( |
const std::vector< cv::Point > & | contour, |
|
|
cv::Mat & | tri ) |
|
static |
Python: |
---|
| rm.Pilot.make_feature( | contour, tri | ) -> | <rm.Pilot object> |
| rm.Pilot.make_feature( | w, h, c, angle, cs | ) -> | <rm.Pilot object> |
构造接口
- 参数
-
contour | 引导灯轮廓点 |
tri | 包含引导灯颜色信息的灰度图像(三值图: 0, 125, 255) |
- 返回
- 如果能够被成功构造,将返回引导灯的共享指针,否则返回空
◆ make_feature() [2/2]
static ptr rm::Pilot::make_feature |
( |
float | ref_width, |
|
|
float | ref_height, |
|
|
const cv::Point2f & | ref_center, |
|
|
float | ref_angle, |
|
|
const std::vector< cv::Point2f > & | ref_corners ) |
|
inlinestatic |
Python: |
---|
| rm.Pilot.make_feature( | contour, tri | ) -> | <rm.Pilot object> |
| rm.Pilot.make_feature( | w, h, c, angle, cs | ) -> | <rm.Pilot object> |
构造 Pilot
- 参数
-
[in] | ref_width | 参考宽度 |
[in] | ref_height | 参考高度 |
[in] | ref_center | 参考中心点 |
[in] | ref_angle | 参考角度 |
[in] | ref_corners | 参考角点 |
- 返回
- 返回 Pilot 的共享指针
该类的文档由以下文件生成: