![]() |
OpenCV 4.12.0
开源计算机视觉
|
类 | |
| 类 | cv::cuda::HoughCirclesDetector |
| 圆形检测器算法的基类。 : 更多... | |
| 类 | cv::cuda::HoughLinesDetector |
| 直线检测器算法的基类。 : 更多... | |
| 类 | cv::cuda::HoughSegmentDetector |
| 线段检测器算法的基类。 : 更多... | |
函数 | |
| Ptr< GeneralizedHoughBallard > | cv::cuda::createGeneralizedHoughBallard () |
| 创建广义霍夫变换的实现,来自 [16] 。 | |
| Ptr< GeneralizedHoughGuil > | cv::cuda::createGeneralizedHoughGuil () |
| 创建广义霍夫变换的实现,来自 [116] 。 | |
| 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>
创建广义霍夫变换的实现,来自 [16] 。
| Ptr< GeneralizedHoughGuil > cv::cuda::createGeneralizedHoughGuil | ( | ) |
#include <opencv2/cudaimgproc.hpp>
创建广义霍夫变换的实现,来自 [116] 。
| 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 | RANSAC参数。它是点到像素中对极线的最大距离,超过此距离的点将被视为异常值,不用于计算最终的基本矩阵。它可以设置为1-3左右,具体取决于点定位的精度、图像分辨率和图像噪声。, | ||
| bool | doSort = false, | ||
| int | maxLines = 4096 ) |
#include <opencv2/cudaimgproc.hpp>
创建 cuda::HoughLinesDetector 的实现。
| rho | 累加器的距离分辨率(以像素为单位)。 |
| theta | 累加器的角度分辨率(以弧度为单位)。 |
| RANSAC参数。它是点到像素中对极线的最大距离,超过此距离的点将被视为异常值,不用于计算最终的基本矩阵。它可以设置为1-3左右,具体取决于点定位的精度、图像分辨率和图像噪声。 | 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 | 最大输出线数。 |
| RANSAC参数。它是点到像素中对极线的最大距离,超过此距离的点将被视为异常值,不用于计算最终的基本矩阵。它可以设置为1-3左右,具体取决于点定位的精度、图像分辨率和图像噪声。 | 累加器阈值参数。仅返回获得足够票数的线( \(>\texttt{threshold}\) )。 |