线段检测算法的基类。: 更多...
#include <opencv2/cudaimgproc.hpp>
◆ detect()
使用概率霍夫变换在二进制图像中查找线段。
- 参数
-
src | 8 位单通道二进制源图像。 |
lines | 线的输出向量。每条线都由一个四元素向量表示 \((x_1, y_1, x_2, y_2)\) ,其中 \((x_1,y_1)\) 和 \((x_2, y_2)\) 是每个检测到的线段的端点。 |
stream | 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 |
threshold | ) |
|
|
纯虚 |
此类的文档从以下文件生成