![]() |
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 | 直方圖中的級別數。 |
| 流 | 用於非同步版本的流。 |