Added optional constraints to non-probablistic hough lines functions
This commit is contained in:
@@ -1151,7 +1151,8 @@ CV_EXPORTS_W void goodFeaturesToTrack( InputArray image, OutputArray corners,
|
||||
//! finds lines in the black-n-white image using the standard or pyramid Hough transform
|
||||
CV_EXPORTS_W void HoughLines( InputArray image, OutputArray lines,
|
||||
double rho, double theta, int threshold,
|
||||
double srn = 0, double stn = 0 );
|
||||
double srn = 0, double stn = 0,
|
||||
double min_theta = 0, double max_theta = CV_PI );
|
||||
|
||||
//! finds line segments in the black-n-white image using probabilistic Hough transform
|
||||
CV_EXPORTS_W void HoughLinesP( InputArray image, OutputArray lines,
|
||||
|
@@ -601,7 +601,8 @@ CVAPI(void) cvGoodFeaturesToTrack( const CvArr* image, CvArr* eig_image,
|
||||
param1 ~ srn, param2 ~ stn - for multi-scale */
|
||||
CVAPI(CvSeq*) cvHoughLines2( CvArr* image, void* line_storage, int method,
|
||||
double rho, double theta, int threshold,
|
||||
double param1 CV_DEFAULT(0), double param2 CV_DEFAULT(0));
|
||||
double param1 CV_DEFAULT(0), double param2 CV_DEFAULT(0),
|
||||
double min_theta CV_DEFAULT(0), double max_theta CV_DEFAULT(CV_PI));
|
||||
|
||||
/* Finds circles in the image */
|
||||
CVAPI(CvSeq*) cvHoughCircles( CvArr* image, void* circle_storage,
|
||||
|
Reference in New Issue
Block a user