前哨、基地的引导灯
更多...
#include <rmvl/feature/pilot.h>
|
static std::shared_ptr< Pilot > | make_feature (std::vector< cv::Point > &contour, cv::Mat &tri) |
| 构造接口 更多...
|
|
static std::shared_ptr< Pilot > | make_feature (float ref_width, float ref_height, const cv::Point2f &ref_center, float ref_angle, const std::vector< cv::Point2f > &ref_corners) |
| 构造 Pilot 更多...
|
|
static std::shared_ptr< Pilot > | cast (feature_ptr p_feature) |
| 动态类型转换 更多...
|
|
◆ Pilot() [1/4]
rm::Pilot::Pilot |
( |
const Pilot & |
| ) |
|
|
delete |
◆ Pilot() [2/4]
rm::Pilot::Pilot |
( |
Pilot && |
| ) |
|
|
delete |
◆ Pilot() [3/4]
rm::Pilot::Pilot |
( |
std::vector< cv::Point > & |
contour, |
|
|
cv::RotatedRect & |
rotated_rect, |
|
|
float |
width, |
|
|
float |
height |
|
) |
| |
◆ Pilot() [4/4]
rm::Pilot::Pilot |
( |
const float & |
ref_width, |
|
|
const float & |
ref_height, |
|
|
const cv::Point2f & |
ref_center, |
|
|
const float & |
ref_angle, |
|
|
const std::vector< cv::Point2f > & |
ref_corners |
|
) |
| |
◆ cast()
动态类型转换
- 参数
-
[in] | p_feature | feature_ptr 抽象指针 |
- 返回
- 派生对象指针
◆ getLeftPoint()
cv::Point2f rm::Pilot::getLeftPoint |
( |
| ) |
|
|
inline |
◆ getMatchMessage()
bool rm::Pilot::getMatchMessage |
( |
| ) |
|
|
inline |
◆ getRightPoint()
cv::Point2f rm::Pilot::getRightPoint |
( |
| ) |
|
|
inline |
◆ make_feature() [1/2]
static std::shared_ptr<Pilot> 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 |
构造 Pilot
- 参数
-
[in] | ref_width | 参考宽度 |
[in] | ref_height | 参考高度 |
[in] | ref_center | 参考中心点 |
[in] | ref_angle | 参考角度 |
[in] | ref_corners | 参考角点 |
- 返回
- std::shared_ptr<Pilot>
◆ make_feature() [2/2]
static std::shared_ptr<Pilot> rm::Pilot::make_feature |
( |
std::vector< cv::Point > & |
contour, |
|
|
cv::Mat & |
tri |
|
) |
| |
|
static |
构造接口
- 参数
-
contour | 引导灯轮廓点 |
tri | 包含引导灯颜色信息的灰度图像(三值图: 0, 125, 255) |
- 返回
- 如果能够被成功构造,将返回引导灯的共享指针,否则返回空
◆ setMatchMessage()
void rm::Pilot::setMatchMessage |
( |
bool |
match | ) |
|
|
inline |
该类的文档由以下文件生成: