OpenCV  3.3.1-dev
Open Source Computer Vision
Classes | Functions

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 [8] . More...
 
Ptr< GeneralizedHoughGuilcv::cuda::createGeneralizedHoughGuil ()
 Creates implementation for generalized hough transform from [70] . More...
 
Ptr< HoughCirclesDetectorcv::cuda::createHoughCirclesDetector (float dp, float minDist, int cannyThreshold, int votesThreshold, int minRadius, int maxRadius, int maxCircles=4096)
 Creates implementation for cuda::HoughCirclesDetector . More...
 
Ptr< HoughLinesDetectorcv::cuda::createHoughLinesDetector (float rho, float theta, int threshold, bool doSort=false, int maxLines=4096)
 Creates implementation for cuda::HoughLinesDetector . More...
 
Ptr< HoughSegmentDetectorcv::cuda::createHoughSegmentDetector (float rho, float theta, int minLineLength, int maxLineGap, int maxLines=4096)
 Creates implementation for cuda::HoughSegmentDetector . More...
 

Detailed Description

Function Documentation

§ createGeneralizedHoughBallard()

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

Creates implementation for generalized hough transform from [8] .

§ createGeneralizedHoughGuil()

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

Creates implementation for generalized hough transform from [70] .

§ createHoughCirclesDetector()

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 .

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 
)

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 
)

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.
Examples:
houghlines.cpp.