RMVL
1.3.0
Robotic Manipulation and Vision Library
|
前哨、基地的引导灯 更多...
#include <rmvl/feature/pilot.h>
Public 类型 | |
using | ptr = std::shared_ptr<Pilot> |
using | const_ptr = std::shared_ptr<const Pilot> |
Public 类型 继承自 rm::feature | |
using | ptr = std::shared_ptr<feature> |
using | const_ptr = std::shared_ptr<const feature> |
Public 成员函数 | |
Pilot (const std::vector< cv::Point > &, cv::RotatedRect &, float, float) | |
Pilot (const float &, const float &, const cv::Point2f &, const float &, const std::vector< cv::Point2f > &) | |
feature::ptr | clone () override |
从另一个特征进行构造 | |
cv::Point2f | getLeftPoint () |
获取灯条左端点 | |
cv::Point2f | getRightPoint () |
获取灯条右端点 | |
Public 成员函数 继承自 rm::feature | |
float | getArea () const |
获取特征面积 | |
const cv::Point2f & | getCenter () const |
获取特征中心点 | |
float | getWidth () const |
获取特征宽度 | |
float | getHeight () const |
获取特征高度 | |
float | getAngle () const |
获取特征角度 | |
const auto & | getCorners () const |
获取特征角点 | |
const RMStatus & | getType () const |
获取状态信息 | |
静态 Public 成员函数 | |
static ptr | make_feature (const std::vector< cv::Point > &contour, cv::Mat &tri) |
构造接口 | |
static ptr | 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 ptr | cast (feature::ptr p_feature) |
动态类型转换 | |
static const_ptr | cast (feature::const_ptr p_feature) |
动态类型转换 | |
额外继承的成员函数 | |
Protected 属性 继承自 rm::feature | |
float | _width {} |
特征宽度 | |
float | _height {} |
特征高度 | |
float | _angle {} |
特征角度 | |
cv::Point2f | _center |
特征中心点 | |
std::vector< cv::Point2f > | _corners |
特征角点 | |
rm::RMStatus | _type |
状态类型信息 | |
前哨、基地的引导灯
using rm::Pilot::const_ptr = std::shared_ptr<const Pilot> |
using rm::Pilot::ptr = std::shared_ptr<Pilot> |
rm::Pilot::Pilot | ( | const std::vector< cv::Point > & | , |
cv::RotatedRect & | , | ||
float | , | ||
float | ) |
rm::Pilot::Pilot | ( | const float & | , |
const float & | , | ||
const cv::Point2f & | , | ||
const float & | , | ||
const std::vector< cv::Point2f > & | ) |
|
inlinestatic |
|
inlinestatic |
|
inlineoverridevirtual |
|
inline |
获取灯条左端点
|
inline |
获取灯条右端点
|
static |
构造接口
contour | 引导灯轮廓点 |
tri | 包含引导灯颜色信息的灰度图像(三值图: 0, 125, 255) |
|
inlinestatic |