![]() |
OpenCV 4.10.0
开源计算机视觉
|
类 | |
| 类 | cv::cuda::HoughCirclesDetector |
| 圆检测算法的基类。: 更多信息... | |
| 类 | cv::cuda::HoughLinesDetector |
| 线检测算法的基类。: 更多信息... | |
| 类 | cv::cuda::HoughSegmentDetector |
| 线段检测算法的基类。: 更多信息... | |
函数 | |
| Ptr< GeneralizedHoughBallard > | cv::cuda::createGeneralizedHoughBallard () |
| 创建从 [15] 中的广义霍夫变换实现。 | |
| Ptr< GeneralizedHoughGuil > | cv::cuda::createGeneralizedHoughGuil () |
| 创建从 [114] 中的广义霍夫变换实现。 | |
| Ptr< HoughCirclesDetector > | cv::cuda::createHoughCirclesDetector (float dp, float minDist, int cannyThreshold, int votesThreshold, int minRadius, int maxRadius, int maxCircles=4096) |
| 创建 cuda::HoughCirclesDetector 的实现方式。 | |
| Ptr< HoughLinesDetector > | cv::cuda::createHoughLinesDetector (float rho, float theta, int threshold, bool doSort=false, int maxLines=4096) |
| 创建 cuda::HoughLinesDetector 的实现方式。 | |
| Ptr< HoughSegmentDetector > | cv::cuda::createHoughSegmentDetector (float rho, float theta, int minLineLength, int maxLineGap, int maxLines=4096, int threshold=-1) |
| 创建 cuda::HoughSegmentDetector 的实现方式。 | |
| 指针< GeneralizedHoughBallard > cv::cuda::createGeneralizedHoughBallard | ( | ) |
#include <opencv2/cudaimgproc.hpp>
创建从 [15] 中的广义霍夫变换实现。
| 指针< GeneralizedHoughGuil > cv::cuda::createGeneralizedHoughGuil | ( | ) |
#include <opencv2/cudaimgproc.hpp>
创建从 [114] 中的广义霍夫变换实现。
| 指针< HoughCirclesDetector > cv::cuda::createHoughCirclesDetector | ( | 浮点 | dp, |
| 浮点 | minDist, | ||
| 整型 | cannyThreshold, | ||
| 整型 | votesThreshold, | ||
| 整型 | minRadius, | ||
| 整型 | maxRadius, | ||
| 整型 | maxCircles = 4096 |
||
| ) |
#include <opencv2/cudaimgproc.hpp>
创建 cuda::HoughCirclesDetector 的实现方式。
| dp | 累加器解析度与图像解析度之比的倒数。例如,如果 dp=1,则累加器具有与输入图像相同的解析度。如果 dp=2,则累加器具有宽和高都减半的大小。 |
| minDist | 检测的圆心之间的最小距离。如果参数太小,除一个真圆外,还可能错误检测到多个相邻圆。如果太大的话,则可能会遗漏一些圆。 |
| cannyThreshold | 传递给 Canny 边缘检测器的两个阈值中的较高阈值(较低阈值为前者的二分之一)。 |
| votesThreshold | 检测阶段中,用于圆心的累加器阈值。阈值越小,检测到的假圆可能越多。 |
| minRadius | 最小圆半径。 |
| maxRadius | 最大圆半径。 |
| maxCircles | 输出圆的最大数量。 |
| 指针< HoughLinesDetector > cv::cuda::createHoughLinesDetector | ( | 浮点 | rho, |
| 浮点 | theta, | ||
| 整型 | threshold, | ||
| 布尔 | doSort = false, |
||
| 整型 | maxLines = 4096 |
||
| ) |
#include <opencv2/cudaimgproc.hpp>
创建 cuda::HoughLinesDetector 的实现方式。
| rho | 累加器中像素的距离解析度。 |
| theta | 累加器中弧度的角度解析度(以弧度为单位)。 |
| threshold | 累加器阈值参数。仅返回获得足够投票(\(>\texttt{threshold}\))的线。 |
| doSort | 按投票对线执行排序。 |
| maxLines | 输出线的最大数量。 |
| 指针< HoughSegmentDetector > cv::cuda::createHoughSegmentDetector | ( | 浮点 | rho, |
| 浮点 | theta, | ||
| 整型 | minLineLength, | ||
| 整型 | maxLineGap, | ||
| 整型 | maxLines = 4096, |
||
| 整型 | threshold = -1 |
||
| ) |
#include <opencv2/cudaimgproc.hpp>
创建 cuda::HoughSegmentDetector 的实现方式。
| rho | 累加器中像素的距离解析度。 |
| theta | 累加器中弧度的角度解析度(以弧度为单位)。 |
| minLineLength | 最小线段长度。长度小于其的线段将被拒绝。 |
| maxLineGap | 同一线上点之间允许的最大间隙,以将它们链接起来。 |
| maxLines | 输出线的最大数量。 |
| threshold | 累加器阈值参数。仅返回获得足够投票(\(>\texttt{threshold}\))的线。 |
1.9.8