OpenCV  4.9.0
Open Source Computer Vision
Classes | Namespaces | Enumerations | Functions
cudaimgproc.hpp File Reference
#include "opencv2/core/cuda.hpp"
#include "opencv2/imgproc.hpp"

Classes

class  cv::cuda::CannyEdgeDetector
 Base class for Canny Edge Detector. : More...
 
class  cv::cuda::CLAHE
 Base class for Contrast Limited Adaptive Histogram Equalization. : More...
 
class  cv::cuda::CornernessCriteria
 Base class for Cornerness Criteria computation. : More...
 
class  cv::cuda::CornersDetector
 Base class for Corners Detector. : More...
 
class  cv::cuda::HoughCirclesDetector
 Base class for circles detector algorithm. : More...
 
class  cv::cuda::HoughLinesDetector
 Base class for lines detector algorithm. : More...
 
class  cv::cuda::HoughSegmentDetector
 Base class for line segments detector algorithm. : More...
 
class  cv::cuda::TemplateMatching
 Base class for Template Matching. : More...
 

Namespaces

 cv
 "black box" representation of the file storage associated with a file on disk.
 
 cv::cuda
 

Enumerations

enum  cv::cuda::AlphaCompTypes {
  cv::cuda::ALPHA_OVER,
  cv::cuda::ALPHA_IN,
  cv::cuda::ALPHA_OUT,
  cv::cuda::ALPHA_ATOP,
  cv::cuda::ALPHA_XOR,
  cv::cuda::ALPHA_PLUS,
  cv::cuda::ALPHA_OVER_PREMUL,
  cv::cuda::ALPHA_IN_PREMUL,
  cv::cuda::ALPHA_OUT_PREMUL,
  cv::cuda::ALPHA_ATOP_PREMUL,
  cv::cuda::ALPHA_XOR_PREMUL,
  cv::cuda::ALPHA_PLUS_PREMUL,
  cv::cuda::ALPHA_PREMUL
}
 
enum  cv::cuda::ConnectedComponentsAlgorithmsTypes {
  cv::cuda::CCL_DEFAULT = -1,
  cv::cuda::CCL_BKE = 0
}
 Connected Components Algorithm. More...
 
enum  cv::cuda::DemosaicTypes {
  cv::cuda::COLOR_BayerBG2BGR_MHT = 256,
  cv::cuda::COLOR_BayerGB2BGR_MHT = 257,
  cv::cuda::COLOR_BayerRG2BGR_MHT = 258,
  cv::cuda::COLOR_BayerGR2BGR_MHT = 259,
  cv::cuda::COLOR_BayerBG2RGB_MHT = COLOR_BayerRG2BGR_MHT,
  cv::cuda::COLOR_BayerGB2RGB_MHT = COLOR_BayerGR2BGR_MHT,
  cv::cuda::COLOR_BayerRG2RGB_MHT = COLOR_BayerBG2BGR_MHT,
  cv::cuda::COLOR_BayerGR2RGB_MHT = COLOR_BayerGB2BGR_MHT,
  cv::cuda::COLOR_BayerBG2GRAY_MHT = 260,
  cv::cuda::COLOR_BayerGB2GRAY_MHT = 261,
  cv::cuda::COLOR_BayerRG2GRAY_MHT = 262,
  cv::cuda::COLOR_BayerGR2GRAY_MHT = 263
}
 
enum  cv::cuda::MomentsOrder {
  cv::cuda::FIRST_ORDER_MOMENTS = 1,
  cv::cuda::SECOND_ORDER_MOMENTS = 2,
  cv::cuda::THIRD_ORDER_MOMENTS = 3
}
 Order of image moments. More...
 

Functions

void cv::cuda::alphaComp (InputArray img1, InputArray img2, OutputArray dst, int alpha_op, Stream &stream=Stream::Null())
 Composites two images using alpha opacity values contained in each image. More...
 
void cv::cuda::bilateralFilter (InputArray src, OutputArray dst, int kernel_size, float sigma_color, float sigma_spatial, int borderMode=BORDER_DEFAULT, Stream &stream=Stream::Null())
 Performs bilateral filtering of passed image. More...
 
void cv::cuda::blendLinear (InputArray img1, InputArray img2, InputArray weights1, InputArray weights2, OutputArray result, Stream &stream=Stream::Null())
 Performs linear blending of two images. More...
 
void cv::cuda::calcHist (InputArray src, OutputArray hist, Stream &stream=Stream::Null())
 Calculates histogram for one channel 8-bit image. More...
 
void cv::cuda::calcHist (InputArray src, InputArray mask, OutputArray hist, Stream &stream=Stream::Null())
 Calculates histogram for one channel 8-bit image confined in given mask. More...
 
void cv::cuda::connectedComponents (InputArray image, OutputArray labels, int connectivity, int ltype, cv::cuda::ConnectedComponentsAlgorithmsTypes ccltype)
 Computes the Connected Components Labeled image of a binary image. More...
 
void cv::cuda::connectedComponents (InputArray image, OutputArray labels, int connectivity=8, int ltype=CV_32S)
 
Ptr< CannyEdgeDetector > cv::cuda::createCannyEdgeDetector (double low_thresh, double high_thresh, int apperture_size=3, bool L2gradient=false)
 Creates implementation for cuda::CannyEdgeDetector . More...
 
Ptr< cuda::CLAHE > cv::cuda::createCLAHE (double clipLimit=40.0, Size tileGridSize=Size(8, 8))
 Creates implementation for cuda::CLAHE . More...
 
Ptr< GeneralizedHoughBallard > cv::cuda::createGeneralizedHoughBallard ()
 Creates implementation for generalized hough transform from [15] . More...
 
Ptr< GeneralizedHoughGuil > cv::cuda::createGeneralizedHoughGuil ()
 Creates implementation for generalized hough transform from [112] . More...
 
Ptr< CornersDetector > cv::cuda::createGoodFeaturesToTrackDetector (int srcType, int maxCorners=1000, double qualityLevel=0.01, double minDistance=0.0, int blockSize=3, bool useHarrisDetector=false, double harrisK=0.04)
 Creates implementation for cuda::CornersDetector . More...
 
Ptr< CornernessCriteria > cv::cuda::createHarrisCorner (int srcType, int blockSize, int ksize, double k, int borderType=BORDER_REFLECT101)
 Creates implementation for Harris cornerness criteria. More...
 
Ptr< HoughCirclesDetector > cv::cuda::createHoughCirclesDetector (float dp, float minDist, int cannyThreshold, int votesThreshold, int minRadius, int maxRadius, int maxCircles=4096)
 Creates implementation for cuda::HoughCirclesDetector . More...
 
Ptr< HoughLinesDetector > cv::cuda::createHoughLinesDetector (float rho, float theta, int threshold, bool doSort=false, int maxLines=4096)
 Creates implementation for cuda::HoughLinesDetector . More...
 
Ptr< HoughSegmentDetector > cv::cuda::createHoughSegmentDetector (float rho, float theta, int minLineLength, int maxLineGap, int maxLines=4096, int threshold=-1)
 Creates implementation for cuda::HoughSegmentDetector . More...
 
Ptr< CornernessCriteria > cv::cuda::createMinEigenValCorner (int srcType, int blockSize, int ksize, int borderType=BORDER_REFLECT101)
 Creates implementation for the minimum eigen value of a 2x2 derivative covariation matrix (the cornerness criteria). More...
 
Ptr< TemplateMatching > cv::cuda::createTemplateMatching (int srcType, int method, Size user_block_size=Size())
 Creates implementation for cuda::TemplateMatching . More...
 
void cv::cuda::cvtColor (InputArray src, OutputArray dst, int code, int dcn=0, Stream &stream=Stream::Null())
 Converts an image from one color space to another. More...
 
void cv::cuda::demosaicing (InputArray src, OutputArray dst, int code, int dcn=-1, Stream &stream=Stream::Null())
 Converts an image from Bayer pattern to RGB or grayscale. More...
 
void cv::cuda::equalizeHist (InputArray src, OutputArray dst, Stream &stream=Stream::Null())
 Equalizes the histogram of a grayscale image. More...
 
void cv::cuda::evenLevels (OutputArray levels, int nLevels, int lowerLevel, int upperLevel, Stream &stream=Stream::Null())
 Computes levels with even distribution. More...
 
void cv::cuda::gammaCorrection (InputArray src, OutputArray dst, bool forward=true, Stream &stream=Stream::Null())
 Routines for correcting image color gamma. More...
 
void cv::cuda::histEven (InputArray src, OutputArray hist, int histSize, int lowerLevel, int upperLevel, Stream &stream=Stream::Null())
 Calculates a histogram with evenly distributed bins. More...
 
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::histRange (InputArray src, OutputArray hist, InputArray levels, Stream &stream=Stream::Null())
 Calculates a histogram with bins determined by the levels array. More...
 
void cv::cuda::histRange (InputArray src, GpuMat hist[4], const GpuMat levels[4], Stream &stream=Stream::Null())
 
void cv::cuda::meanShiftFiltering (InputArray src, OutputArray dst, int sp, int sr, TermCriteria criteria=TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS, 5, 1), Stream &stream=Stream::Null())
 Performs mean-shift filtering for each point of the source image. More...
 
void cv::cuda::meanShiftProc (InputArray src, OutputArray dstr, OutputArray dstsp, int sp, int sr, TermCriteria criteria=TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS, 5, 1), Stream &stream=Stream::Null())
 Performs a mean-shift procedure and stores information about processed points (their colors and positions) in two images. More...
 
void cv::cuda::meanShiftSegmentation (InputArray src, OutputArray dst, int sp, int sr, int minsize, TermCriteria criteria=TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS, 5, 1), Stream &stream=Stream::Null())
 Performs a mean-shift segmentation of the source image and eliminates small segments. More...
 
Moments cv::cuda::moments (InputArray src, const bool binaryImage=false, const MomentsOrder order=MomentsOrder::THIRD_ORDER_MOMENTS, const int momentsType=CV_64F)
 Calculates all of the moments up to the 3rd order of a rasterized shape. More...
 
int cv::cuda::numMoments (const MomentsOrder order)
 Returns the number of image moments less than or equal to the largest image moments order. More...
 
void cv::cuda::spatialMoments (InputArray src, OutputArray moments, const bool binaryImage=false, const MomentsOrder order=MomentsOrder::THIRD_ORDER_MOMENTS, const int momentsType=CV_64F, Stream &stream=Stream::Null())
 Calculates all of the spatial moments up to the 3rd order of a rasterized shape. More...
 
void cv::cuda::swapChannels (InputOutputArray image, const int dstOrder[4], Stream &stream=Stream::Null())
 Exchanges the color channels of an image in-place. More...