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::CLAHEcv::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 陣列確定的直方圖。
 

函式文件

◆ calcHist() [1/2]

void cv::cuda::calcHist ( InputArray src,
InputArray mask,
OutputArray hist,
Stream & stream = Stream::Null() )

#include <opencv2/cudaimgproc.hpp>

計算給定掩碼中限制的單通道8點陣圖像的直方圖。

引數
srcCV_8UC1 型別的源影像。
hist目標直方圖,具有一行、256 列和 CV_32SC1 型別。
mask與源影像大小相同且型別為 CV_8UC1 的掩碼影像。
用於非同步版本的

◆ calcHist() [2/2]

void cv::cuda::calcHist ( InputArray src,
OutputArray hist,
Stream & stream = Stream::Null() )

#include <opencv2/cudaimgproc.hpp>

計算單通道 8 點陣圖像的直方圖。

引數
srcCV_8UC1 型別的源影像。
hist目標直方圖,具有一行、256 列和 CV_32SC1 型別。
用於非同步版本的

◆ createCLAHE()

Ptr< cuda::CLAHE > cv::cuda::createCLAHE ( double clipLimit = 40.0,
Size tileGridSize = Size(8, 8) )

#include <opencv2/cudaimgproc.hpp>

cuda::CLAHE 建立實現。

引數
clipLimit對比度限制的閾值。
tileGridSize用於直方圖均衡化的網格大小。輸入影像將被劃分為大小相等的矩形瓦片。tileGridSize 定義了行和列中的瓦片數量。

◆ equalizeHist()

void cv::cuda::equalizeHist ( InputArray src,
OutputArray dst,
Stream & stream = Stream::Null() )

#include <opencv2/cudaimgproc.hpp>

均衡化灰度影像的直方圖。

引數
srcCV_8UC1 型別的源影像。
dst目標影像。
用於非同步版本的
另請參見
equalizeHist

◆ evenLevels()

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最高級別的上邊界值。
用於非同步版本的

◆ histEven() [1/2]

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>

這是一個過載的成員函式,為了方便而提供。它與上述函式的不同之處僅在於它接受的引數。

◆ histEven() [2/2]

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 的上邊界。
用於非同步版本的

◆ histRange() [1/2]

void cv::cuda::histRange ( InputArray src,
GpuMat hist[4],
const GpuMat levels[4],
Stream & stream = Stream::Null() )

#include <opencv2/cudaimgproc.hpp>

這是一個過載的成員函式,為了方便而提供。它與上述函式的不同之處僅在於它接受的引數。

◆ histRange() [2/2]

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