Lines Matching refs:numrho
97 int numrho = cvRound(((width + height) * 2 + 1) / rho); in HoughLinesStandard() local
125 AutoBuffer<int> _accum((numangle+2) * (numrho+2)); in HoughLinesStandard()
132 memset( accum, 0, sizeof(accum[0]) * (numangle+2) * (numrho+2) ); in HoughLinesStandard()
149 r += (numrho - 1) / 2; in HoughLinesStandard()
150 accum[(n+1) * (numrho+2) + r+1]++; in HoughLinesStandard()
155 for(int r = 0; r < numrho; r++ ) in HoughLinesStandard()
158 int base = (n+1) * (numrho+2) + r+1; in HoughLinesStandard()
161 accum[base] > accum[base - numrho - 2] && accum[base] >= accum[base + numrho + 2] ) in HoughLinesStandard()
170 double scale = 1./(numrho+2); in HoughLinesStandard()
176 int r = idx - (n+1)*(numrho+2) - 1; in HoughLinesStandard()
177 line.rho = (r - (numrho - 1)*0.5f) * rho; in HoughLinesStandard()
430 int numrho = cvRound(((width + height) * 2 + 1) / rho); in HoughLinesProbabilistic() local
439 int ipp_linesMax = std::min(linesMax, numangle*numrho); in HoughLinesProbabilistic()
461 Mat accum = Mat::zeros( numangle, numrho, CV_32SC1 ); in HoughLinesProbabilistic()
515 for( int n = 0; n < numangle; n++, adata += numrho ) in HoughLinesProbabilistic()
518 r += (numrho - 1) / 2; in HoughLinesProbabilistic()
636 for( int n = 0; n < numangle; n++, adata += numrho ) in HoughLinesProbabilistic()
639 r += (numrho - 1) / 2; in HoughLinesProbabilistic()
689 …intsList, OutputArray _accum, int total_points, double rho, double theta, int numrho, int numangle) in ocl_fillAccum() argument
692 _accum.create(numangle + 2, numrho + 2, CV_32SC1); in ocl_fillAccum()
703 size_t local_memory_needed = (numrho + 2)*sizeof(int); in ocl_fillAccum()
713 total_points, irho, (float) theta, numrho, numangle); in ocl_fillAccum()
719 … format("-D FILL_ACCUM_LOCAL -D LOCAL_SIZE=%d -D BUFFER_SIZE=%d", workgroup_size, numrho + 2)); in ocl_fillAccum()
725 total_points, irho, (float) theta, numrho, numangle); in ocl_fillAccum()
747 int numrho = cvRound(((src.cols + src.rows) * 2 + 1) / rho); in ocl_HoughLines() local
763 if (!ocl_fillAccum(pointsList, accum, total_points, rho, theta, numrho, numangle)) in ocl_HoughLines()
778 size_t globalThreads[2] = { (numrho + pixPerWI - 1)/pixPerWI, numangle }; in ocl_HoughLines()
801 int numrho = cvRound(((src.cols + src.rows) * 2 + 1) / rho); in ocl_HoughLinesP() local
817 if (!ocl_fillAccum(pointsList, accum, total_points, rho, theta, numrho, numangle)) in ocl_HoughLinesP()
832 size_t globalThreads[2] = { numrho, numangle }; in ocl_HoughLinesP()