![]() |
OpenCV 4.12.0
开源计算机视觉
|
类 | |
| 类 | cv::cuda::CLAHE |
| 对比度受限自适应直方图均衡化的基类。: 更多... | |
函数 | |
| void | cv::cuda::calcHist (InputArray src, InputArray mask, OutputArray hist, Stream &stream=Stream::Null()) |
| 计算给定掩码中限制的单通道8位图像的直方图。 | |
| void | cv::cuda::calcHist (InputArray src, OutputArray hist, Stream &stream=Stream::Null()) |
| 计算单通道 8 位图像的直方图。 | |
| Ptr< cuda::CLAHE > | cv::cuda::createCLAHE (double clipLimit=40.0, Size tileGridSize=Size(8, 8)) |
| 为 cuda::CLAHE 创建实现。 | |
| void | cv::cuda::equalizeHist (InputArray src, OutputArray dst, Stream &stream=Stream::Null()) |
| 均衡化灰度图像的直方图。 | |
| void | cv::cuda::evenLevels (OutputArray levels, int nLevels, int lowerLevel, int upperLevel, Stream &stream=Stream::Null()) |
| 计算均匀分布的水平。 | |
| void | cv::cuda::histEven (InputArray src, GpuMat hist[4], int histSize[4], int lowerLevel[4], int upperLevel[4], Stream &stream=Stream::Null()) |
| void | cv::cuda::histEven (InputArray src, OutputArray hist, int histSize, int lowerLevel, int upperLevel, Stream &stream=Stream::Null()) |
| 计算具有均匀分布直方图的等级。 | |
| void | cv::cuda::histRange (InputArray src, GpuMat hist[4], const GpuMat levels[4], Stream &stream=Stream::Null()) |
| void | cv::cuda::histRange (InputArray src, OutputArray hist, InputArray levels, Stream &stream=Stream::Null()) |
| 计算由 levels 数组确定的直方图。 | |
| void cv::cuda::calcHist | ( | InputArray | src, |
| InputArray | mask, | ||
| OutputArray | hist, | ||
| Stream & | stream = Stream::Null() ) |
#include <opencv2/cudaimgproc.hpp>
计算给定掩码中限制的单通道8位图像的直方图。
| src | CV_8UC1 类型的源图像。 |
| hist | 目标直方图,具有一行、256 列和 CV_32SC1 类型。 |
| mask | 与源图像大小相同且类型为 CV_8UC1 的掩码图像。 |
| 流 | 用于异步版本的流。 |
| void cv::cuda::calcHist | ( | InputArray | src, |
| OutputArray | hist, | ||
| Stream & | stream = Stream::Null() ) |
#include <opencv2/cudaimgproc.hpp>
计算单通道 8 位图像的直方图。
| src | CV_8UC1 类型的源图像。 |
| hist | 目标直方图,具有一行、256 列和 CV_32SC1 类型。 |
| 流 | 用于异步版本的流。 |
| Ptr< cuda::CLAHE > cv::cuda::createCLAHE | ( | double | clipLimit = 40.0, |
| Size | tileGridSize = Size(8, 8) ) |
#include <opencv2/cudaimgproc.hpp>
为 cuda::CLAHE 创建实现。
| clipLimit | 对比度限制的阈值。 |
| tileGridSize | 用于直方图均衡化的网格大小。输入图像将被划分为大小相等的矩形瓦片。tileGridSize 定义了行和列中的瓦片数量。 |
| void cv::cuda::equalizeHist | ( | InputArray | src, |
| OutputArray | dst, | ||
| Stream & | stream = Stream::Null() ) |
#include <opencv2/cudaimgproc.hpp>
均衡化灰度图像的直方图。
| src | CV_8UC1 类型的源图像。 |
| dst | 目标图像。 |
| 流 | 用于异步版本的流。 |
| void cv::cuda::evenLevels | ( | OutputArray | levels, |
| int | nLevels, | ||
| int | lowerLevel, | ||
| int | upperLevel, | ||
| Stream & | stream = Stream::Null() ) |
#include <opencv2/cudaimgproc.hpp>
计算均匀分布的水平。
| levels | 目标数组。levels 具有 1 行、nLevels 列和 CV_32SC1 类型。 |
| nLevels | 计算的级别数。nLevels 必须至少为 2。 |
| lowerLevel | 最低级别的下边界值。 |
| upperLevel | 最高级别的上边界值。 |
| 流 | 用于异步版本的流。 |
| void cv::cuda::histEven | ( | InputArray | src, |
| GpuMat | hist[4], | ||
| int | histSize[4], | ||
| int | lowerLevel[4], | ||
| int | upperLevel[4], | ||
| Stream & | stream = Stream::Null() ) |
#include <opencv2/cudaimgproc.hpp>
这是一个重载的成员函数,为了方便而提供。它与上述函数的不同之处仅在于它接受的参数。
| void cv::cuda::histEven | ( | InputArray | src, |
| OutputArray | hist, | ||
| int | histSize, | ||
| int | lowerLevel, | ||
| int | upperLevel, | ||
| Stream & | stream = Stream::Null() ) |
#include <opencv2/cudaimgproc.hpp>
计算具有均匀分布直方图的等级。
| src | 源图像。支持 CV_8U、CV_16U 或 CV_16S 深度以及 1 或 4 个通道。对于四通道图像,所有通道分别处理。 |
| hist | 目标直方图,具有一行、histSize 列和 CV_32S 类型。 |
| histSize | 直方图的大小。 |
| lowerLevel | 最低级别 bin 的下边界。 |
| upperLevel | 最高级别 bin 的上边界。 |
| 流 | 用于异步版本的流。 |
| void cv::cuda::histRange | ( | InputArray | src, |
| GpuMat | hist[4], | ||
| const GpuMat | levels[4], | ||
| Stream & | stream = Stream::Null() ) |
#include <opencv2/cudaimgproc.hpp>
这是一个重载的成员函数,为了方便而提供。它与上述函数的不同之处仅在于它接受的参数。
| void cv::cuda::histRange | ( | InputArray | src, |
| OutputArray | hist, | ||
| InputArray | levels, | ||
| Stream & | stream = Stream::Null() ) |
#include <opencv2/cudaimgproc.hpp>
计算由 levels 数组确定的直方图。
| src | 源图像。支持 CV_8U、CV_16U 或 CV_16S 深度以及 1 或 4 个通道。对于四通道图像,所有通道分别处理。 |
| hist | 目标直方图,具有一行、(levels.cols-1) 列和 CV_32SC1 类型。 |
| levels | 直方图中的级别数。 |
| 流 | 用于异步版本的流。 |