OpenCV  4.10.0-dev
Open Source Computer Vision
Loading...
Searching...
No Matches
Classes | Functions

Detailed Description

Classes

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...
 

Functions

Ptr< GeneralizedHoughBallardcv::cuda::createGeneralizedHoughBallard ()
 Creates implementation for generalized hough transform from [15] .
 
Ptr< GeneralizedHoughGuilcv::cuda::createGeneralizedHoughGuil ()
 Creates implementation for generalized hough transform from [114] .
 
Ptr< HoughCirclesDetectorcv::cuda::createHoughCirclesDetector (float dp, float minDist, int cannyThreshold, int votesThreshold, int minRadius, int maxRadius, int maxCircles=4096)
 Creates implementation for cuda::HoughCirclesDetector .
 
Ptr< HoughLinesDetectorcv::cuda::createHoughLinesDetector (float rho, float theta, int threshold, bool doSort=false, int maxLines=4096)
 Creates implementation for cuda::HoughLinesDetector .
 
Ptr< HoughSegmentDetectorcv::cuda::createHoughSegmentDetector (float rho, float theta, int minLineLength, int maxLineGap, int maxLines=4096, int threshold=-1)
 Creates implementation for cuda::HoughSegmentDetector .
 

Function Documentation

◆ createGeneralizedHoughBallard()

Ptr< GeneralizedHoughBallard > cv::cuda::createGeneralizedHoughBallard ( )

#include <opencv2/cudaimgproc.hpp>

Creates implementation for generalized hough transform from [15] .

◆ createGeneralizedHoughGuil()

Ptr< GeneralizedHoughGuil > cv::cuda::createGeneralizedHoughGuil ( )

#include <opencv2/cudaimgproc.hpp>

Creates implementation for generalized hough transform from [114] .

◆ createHoughCirclesDetector()

Ptr< HoughCirclesDetector > cv::cuda::createHoughCirclesDetector ( float  dp,
float  minDist,
int  cannyThreshold,
int  votesThreshold,
int  minRadius,
int  maxRadius,
int  maxCircles = 4096 
)

#include <opencv2/cudaimgproc.hpp>

Creates implementation for cuda::HoughCirclesDetector .

Parameters
dpInverse ratio of the accumulator resolution to the image resolution. For example, if dp=1 , the accumulator has the same resolution as the input image. If dp=2 , the accumulator has half as big width and height.
minDistMinimum distance between the centers of the detected circles. If the parameter is too small, multiple neighbor circles may be falsely detected in addition to a true one. If it is too large, some circles may be missed.
cannyThresholdThe higher threshold of the two passed to Canny edge detector (the lower one is twice smaller).
votesThresholdThe accumulator threshold for the circle centers at the detection stage. The smaller it is, the more false circles may be detected.
minRadiusMinimum circle radius.
maxRadiusMaximum circle radius.
maxCirclesMaximum number of output circles.

◆ createHoughLinesDetector()

Ptr< HoughLinesDetector > cv::cuda::createHoughLinesDetector ( float  rho,
float  theta,
int  threshold,
bool  doSort = false,
int  maxLines = 4096 
)

#include <opencv2/cudaimgproc.hpp>

Creates implementation for cuda::HoughLinesDetector .

Parameters
rhoDistance resolution of the accumulator in pixels.
thetaAngle resolution of the accumulator in radians.
thresholdAccumulator threshold parameter. Only those lines are returned that get enough votes ( \(>\texttt{threshold}\) ).
doSortPerforms lines sort by votes.
maxLinesMaximum number of output lines.

◆ createHoughSegmentDetector()

Ptr< HoughSegmentDetector > cv::cuda::createHoughSegmentDetector ( float  rho,
float  theta,
int  minLineLength,
int  maxLineGap,
int  maxLines = 4096,
int  threshold = -1 
)

#include <opencv2/cudaimgproc.hpp>

Creates implementation for cuda::HoughSegmentDetector .

Parameters
rhoDistance resolution of the accumulator in pixels.
thetaAngle resolution of the accumulator in radians.
minLineLengthMinimum line length. Line segments shorter than that are rejected.
maxLineGapMaximum allowed gap between points on the same line to link them.
maxLinesMaximum number of output lines.
thresholdAccumulator threshold parameter. Only those lines are returned that get enough votes ( \(>\texttt{threshold}\) ).