神符靶心特征
更多...
#include <rmvl/feature/rune_target.h>
◆ const_ptr
◆ ptr
◆ RuneTarget() [1/5]
rm::RuneTarget::RuneTarget |
( |
| ) |
|
|
default |
◆ RuneTarget() [2/5]
◆ RuneTarget() [3/5]
◆ RuneTarget() [4/5]
rm::RuneTarget::RuneTarget |
( |
std::vector< cv::Point > & | , |
|
|
cv::RotatedRect & | , |
|
|
bool | is_active ) |
◆ RuneTarget() [5/5]
rm::RuneTarget::RuneTarget |
( |
cv::Point | center, |
|
|
bool | is_active ) |
◆ cast() [1/2]
◆ cast() [2/2]
◆ getContours()
const std::vector< cv::Point > & rm::RuneTarget::getContours |
( |
| ) |
|
|
inline |
◆ getRadius()
float rm::RuneTarget::getRadius |
( |
| ) |
const |
|
inline |
◆ getRatio()
float rm::RuneTarget::getRatio |
( |
| ) |
const |
|
inline |
◆ isActive()
bool rm::RuneTarget::isActive |
( |
| ) |
const |
|
inline |
◆ make_feature() [1/2]
static std::shared_ptr< RuneTarget > rm::RuneTarget::make_feature |
( |
cv::Point | center, |
|
|
bool | is_active ) |
|
static |
使用特征中心点构造 RuneTarget 的构造接口
- 参数
-
[in] | center | 特征中心点 |
[in] | is_active | 是否激活? |
- 返回
- 如果成功,返回 RuneTarget 的共享指针,否则返回 nullptr
◆ make_feature() [2/2]
static std::shared_ptr< RuneTarget > rm::RuneTarget::make_feature |
( |
std::vector< cv::Point > & | contour, |
|
|
bool | is_active ) |
|
static |
使用轮廓和层次结构构造 RuneTarget 的构造接口
- 参数
-
[in] | contour | 轮廓 |
[in] | is_active | 是否激活? |
- 返回
- 如果成功,返回 RuneTarget 的共享指针,否则返回 nullptr
该类的文档由以下文件生成: