![]() |
RMVL
1.5.0
Robotic Manipulation and Vision Library
|
神符中心特征 更多...
#include <rmvl/feature/rune_center.h>
Public 类型 | |
| using | ptr = std::shared_ptr<RuneCenter> |
| using | const_ptr = std::shared_ptr<const RuneCenter> |
Public 类型 继承自 rm::feature | |
| using | ptr = std::shared_ptr<feature> |
| using | const_ptr = std::shared_ptr<const feature> |
Public 成员函数 | |
| feature::ptr | clone () override |
| 从另一个特征进行构造 | |
| float | getRatio () |
| 获取长宽比 | |
| const std::vector< cv::Point > & | getContour () |
| 获取轮廓点集 | |
Public 成员函数 继承自 rm::feature | |
| float | area () const |
| 获取特征面积 | |
| const cv::Point2f & | center () const |
| 获取特征中心点 | |
| float | width () const |
| 获取特征宽度 | |
| float | height () const |
| 获取特征高度 | |
| float | angle () const |
| 获取特征角度 | |
| const auto & | corners () const |
| 获取特征角点 | |
| const RMStatus & | type () const |
| 获取状态信息 | |
静态 Public 成员函数 | |
| static ptr | make_feature (const cv::Point2f ¢er) |
| 使用特征中心点构造 RuneCenter 的构造接口 | |
| static ptr | make_feature (const std::vector< cv::Point > &contour) |
| 使用轮廓和层次结构构造 RuneCenter 的构造接口 | |
额外继承的成员函数 | |
Protected 属性 继承自 rm::feature | |
| float | _width {} |
| 特征宽度 | |
| float | _height {} |
| 特征高度 | |
| float | _angle {} |
| 特征角度 | |
| cv::Point2f | _center |
| 特征中心点 | |
| std::vector< cv::Point2f > | _corners |
| 特征角点 | |
| rm::RMStatus | _type |
| 状态类型信息 | |
神符中心特征
| using rm::RuneCenter::const_ptr = std::shared_ptr<const RuneCenter> |
| using rm::RuneCenter::ptr = std::shared_ptr<RuneCenter> |
|
inlineoverridevirtual |
|
inline |
获取轮廓点集
|
inline |
获取长宽比
|
inlinestatic |
|
static |
1.12.0