Home
last modified time | relevance | path

Searched refs:numangle (Results 1 – 5 of 5) sorted by relevance

/external/opencv3/modules/imgproc/src/
Dhough.cpp96 int numangle = cvRound((max_theta - min_theta) / theta); in HoughLinesStandard() local
107 int ipp_linesMax = std::min(linesMax, nz*numangle/threshold); in HoughLinesStandard()
125 AutoBuffer<int> _accum((numangle+2) * (numrho+2)); in HoughLinesStandard()
127 AutoBuffer<float> _tabSin(numangle); in HoughLinesStandard()
128 AutoBuffer<float> _tabCos(numangle); in HoughLinesStandard()
132 memset( accum, 0, sizeof(accum[0]) * (numangle+2) * (numrho+2) ); in HoughLinesStandard()
135 for(int n = 0; n < numangle; ang += theta, n++ ) in HoughLinesStandard()
146 for(int n = 0; n < numangle; n++ ) in HoughLinesStandard()
156 for(int n = 0; n < numangle; n++ ) in HoughLinesStandard()
429 int numangle = cvRound(CV_PI / theta); in HoughLinesProbabilistic() local
[all …]
/external/opencv/cv/src/
Dcvhough.cpp99 int numangle, numrho; in CV_IMPLEMENT_QSORT_EX() local
114 numangle = cvRound(CV_PI / theta); in CV_IMPLEMENT_QSORT_EX()
117 CV_CALL( accum = (int*)cvAlloc( sizeof(accum[0]) * (numangle+2) * (numrho+2) )); in CV_IMPLEMENT_QSORT_EX()
118 CV_CALL( sort_buf = (int*)cvAlloc( sizeof(accum[0]) * numangle * numrho )); in CV_IMPLEMENT_QSORT_EX()
119 CV_CALL( tabSin = (float*)cvAlloc( sizeof(tabSin[0]) * numangle )); in CV_IMPLEMENT_QSORT_EX()
120 CV_CALL( tabCos = (float*)cvAlloc( sizeof(tabCos[0]) * numangle )); in CV_IMPLEMENT_QSORT_EX()
121 memset( accum, 0, sizeof(accum[0]) * (numangle+2) * (numrho+2) ); in CV_IMPLEMENT_QSORT_EX()
123 for( ang = 0, n = 0; n < numangle; ang += theta, n++ ) in CV_IMPLEMENT_QSORT_EX()
134 for( n = 0; n < numangle; n++ ) in CV_IMPLEMENT_QSORT_EX()
144 for( n = 0; n < numangle; n++ ) in CV_IMPLEMENT_QSORT_EX()
[all …]
/external/opencv3/modules/cudaimgproc/src/
Dhough_segments.cpp156 const int numangle = cvRound(CV_PI / theta_); in detect() local
158 CV_Assert( numangle > 0 && numrho > 0 ); in detect()
160 ensureSizeIsEnough(numangle + 2, numrho + 2, CV_32SC1, accum_); in detect()
Dhough_lines.cpp152 const int numangle = cvRound(CV_PI / theta_); in detect() local
154 CV_Assert( numangle > 0 && numrho > 0 ); in detect()
156 ensureSizeIsEnough(numangle + 2, numrho + 2, CV_32SC1, accum_); in detect()
/external/opencv3/modules/imgproc/src/opencl/
Dhough_lines.cl61 int total_points, float irho, float theta, int numrho, int numangle)
75 if (theta_idx < numangle)
93 int total_points, float irho, float theta, int numrho, int numangle)
98 if (theta_idx > 0 && theta_idx < numangle + 1)
130 else if (theta_idx < numangle + 2)