![]() |
OpenCV 4.11.0
开源计算机视觉
|
类 | |
| 类 | cv::cuda::HoughCirclesDetector |
| 圆检测算法的基类。: 更多… | |
| 类 | cv::cuda::HoughLinesDetector |
| 直线检测算法的基类。: 更多… | |
| 类 | cv::cuda::HoughSegmentDetector |
| 线段检测算法的基类。: 更多… | |
函数 | |
| Ptr< GeneralizedHoughBallard > | cv::cuda::createGeneralizedHoughBallard () |
| 创建基于 [15] 的广义霍夫变换实现。 | |
| Ptr< GeneralizedHoughGuil > | cv::cuda::createGeneralizedHoughGuil () |
| 创建基于 [113] 的广义霍夫变换实现。 | |
| 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 的实现。 | |
| Ptr< GeneralizedHoughBallard > cv::cuda::createGeneralizedHoughBallard | ( | ) |
#include <opencv2/cudaimgproc.hpp>
创建基于 [15] 的广义霍夫变换实现。
| Ptr< GeneralizedHoughGuil > cv::cuda::createGeneralizedHoughGuil | ( | ) |
#include <opencv2/cudaimgproc.hpp>
创建基于 [113] 的广义霍夫变换实现。
| Ptr< HoughCirclesDetector > cv::cuda::createHoughCirclesDetector | ( | float | dp, |
| float | minDist, | ||
| int | cannyThreshold, | ||
| int | votesThreshold, | ||
| int | minRadius, | ||
| int | maxRadius, | ||
| int | maxCircles = 4096 ) |
#include <opencv2/cudaimgproc.hpp>
创建 cuda::HoughCirclesDetector 的实现。
| dp | 累加器分辨率与图像分辨率的逆比。例如,如果 dp=1 ,则累加器具有与输入图像相同的分辨率。如果 dp=2 ,则累加器的宽度和高度只有一半。 |
| minDist | 检测到的圆的中心之间的最小距离。如果参数太小,除了真实的圆之外,还可能错误地检测到多个相邻的圆。如果太大,则可能会错过一些圆。 |
| cannyThreshold | 传递给 Canny 边缘检测器的两个阈值中的较高阈值(较低的阈值是较低阈值的两倍)。 |
| votesThreshold | 检测阶段圆心的累加器阈值。它越小,检测到的虚假圆就越多。 |
| minRadius | 最小圆半径。 |
| maxRadius | 最大圆半径。 |
| maxCircles | 最大输出圆数。 |
| Ptr< HoughLinesDetector > cv::cuda::createHoughLinesDetector | ( | float | rho, |
| float | theta, | ||
| int | threshold, | ||
| bool | doSort = false, | ||
| int | maxLines = 4096 ) |
#include <opencv2/cudaimgproc.hpp>
创建 cuda::HoughLinesDetector 的实现。
| rho | 累加器中距离分辨率(像素)。 |
| theta | 累加器中角度分辨率(弧度)。 |
| threshold | Accumulator 阈值参数。只有获得足够投票数( \(>\texttt{threshold}\) )的直线才会被返回。 |
| doSort | 按投票数对直线进行排序。 |
| maxLines | 最大输出直线数。 |
| Ptr< HoughSegmentDetector > cv::cuda::createHoughSegmentDetector | ( | float | rho, |
| float | theta, | ||
| int | minLineLength, | ||
| int | maxLineGap, | ||
| int | maxLines = 4096, | ||
| int | threshold = -1 ) |
#include <opencv2/cudaimgproc.hpp>
创建 cuda::HoughSegmentDetector 的实现。
| rho | 累加器中距离分辨率(像素)。 |
| theta | 累加器中角度分辨率(弧度)。 |
| minLineLength | 最小线段长度。短于此长度的线段将被拒绝。 |
| maxLineGap | 同一直线上点之间允许的最大间隙,用于连接这些点。 |
| maxLines | 最大输出直线数。 |
| threshold | 累加器阈值参数。只有获得足够投票数( \(>\texttt{threshold}\) )的直线才会被返回。 |