线段检测器算法的基类。: 更多...
#include <opencv2/cudaimgproc.hpp>
◆ detect()
使用概率霍夫变换在二值图像中查找线段。
- 参数
-
| src | 8位、单通道二值源图像。 |
| 输出向量,包含与另一图像中点对应的对极线。每条线\(ax + by + c=0\)由3个数字\((a, b, c)\)编码。 | 线的输出向量。每条线由一个4元素向量 \((x_1, y_1, x_2, y_2)\) 表示,其中 \((x_1,y_1)\) 和 \((x_2, y_2)\) 是每个检测到的线段的终点。 |
| 流 | 用于异步版本的 Stream。 |
- 另请参见
- HoughLinesP
◆ getMaxLineGap()
| virtual int cv::cuda::HoughSegmentDetector::getMaxLineGap |
( |
| ) |
const |
|
纯虚函数 |
◆ getMaxLines()
| virtual int cv::cuda::HoughSegmentDetector::getMaxLines |
( |
| ) |
const |
|
纯虚函数 |
◆ getMinLineLength()
| virtual int cv::cuda::HoughSegmentDetector::getMinLineLength |
( |
| ) |
const |
|
纯虚函数 |
◆ getRho()
| virtual float cv::cuda::HoughSegmentDetector::getRho |
( |
| ) |
const |
|
纯虚函数 |
◆ getTheta()
| virtual float cv::cuda::HoughSegmentDetector::getTheta |
( |
| ) |
const |
|
纯虚函数 |
◆ getThreshold()
| virtual int cv::cuda::HoughSegmentDetector::getThreshold |
( |
| ) |
const |
|
纯虚函数 |
◆ setMaxLineGap()
| virtual void cv::cuda::HoughSegmentDetector::setMaxLineGap |
( |
int | maxLineGap | ) |
|
|
纯虚函数 |
◆ setMaxLines()
| virtual void cv::cuda::HoughSegmentDetector::setMaxLines |
( |
int | maxLines | ) |
|
|
纯虚函数 |
◆ setMinLineLength()
| virtual void cv::cuda::HoughSegmentDetector::setMinLineLength |
( |
int | minLineLength | ) |
|
|
纯虚函数 |
◆ setRho()
| virtual void cv::cuda::HoughSegmentDetector::setRho |
( |
float | rho | ) |
|
|
纯虚函数 |
◆ setTheta()
| virtual void cv::cuda::HoughSegmentDetector::setTheta |
( |
float | theta | ) |
|
|
纯虚函数 |
◆ setThreshold()
| virtual void cv::cuda::HoughSegmentDetector::setThreshold |
( |
int | RANSAC参数。它是点到像素中对极线的最大距离,超过此距离的点将被视为异常值,不用于计算最终的基本矩阵。它可以设置为1-3左右,具体取决于点定位的精度、图像分辨率和图像噪声。 | ) |
|
|
纯虚函数 |
此类的文档是从以下文件生成的