Searched refs:numrho (Results 1 – 6 of 6) sorted by relevance
/external/opencv3/modules/cudaimgproc/src/cuda/ |
D | hough_lines.cu | 61 … int* list, const int count, PtrStepi accum, const float irho, const float theta, const int numrho) in linesAccumGlobal() argument 72 const int shift = (numrho - 1) / 2; in linesAccumGlobal() 89 … int* list, const int count, PtrStepi accum, const float irho, const float theta, const int numrho) in linesAccumShared() argument 93 for (int i = threadIdx.x; i < numrho + 1; i += blockDim.x) in linesAccumShared() 107 const int shift = (numrho - 1) / 2; in linesAccumShared() 125 for (int i = threadIdx.x; i < numrho + 1; i += blockDim.x) in linesAccumShared() 149 …otes, const int maxSize, const float rho, const float theta, const int threshold, const int numrho) in linesGetResult() argument 165 const float radius = (r - (numrho - 1) * 0.5f) * rho; in linesGetResult()
|
/external/opencv3/modules/imgproc/src/ |
D | hough.cpp | 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() [all …]
|
/external/opencv/cv/src/ |
D | cvhough.cpp | 99 int numangle, numrho; in CV_IMPLEMENT_QSORT_EX() local 115 numrho = cvRound(((width + height) * 2 + 1) / rho); 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() 121 memset( accum, 0, sizeof(accum[0]) * (numangle+2) * (numrho+2) ); in CV_IMPLEMENT_QSORT_EX() 137 r += (numrho - 1) / 2; in CV_IMPLEMENT_QSORT_EX() 138 accum[(n+1) * (numrho+2) + r+1]++; in CV_IMPLEMENT_QSORT_EX() 143 for( r = 0; r < numrho; r++ ) in CV_IMPLEMENT_QSORT_EX() 146 int base = (n+1) * (numrho+2) + r+1; in CV_IMPLEMENT_QSORT_EX() 149 accum[base] > accum[base - numrho - 2] && accum[base] >= accum[base + numrho + 2] ) in CV_IMPLEMENT_QSORT_EX() [all …]
|
/external/opencv3/modules/cudaimgproc/src/ |
D | hough_segments.cpp | 157 const int numrho = cvRound(((src.cols + src.rows) * 2 + 1) / rho_); in detect() local 158 CV_Assert( numangle > 0 && numrho > 0 ); in detect() 160 ensureSizeIsEnough(numangle + 2, numrho + 2, CV_32SC1, accum_); in detect()
|
D | hough_lines.cpp | 153 const int numrho = cvRound(((src.cols + src.rows) * 2 + 1) / rho_); 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/ |
D | hough_lines.cl | 61 int total_points, float irho, float theta, int numrho, int numangle) 73 const int shift = (numrho - 1) / 2; 93 int total_points, float irho, float theta, int numrho, int numangle) 112 const int shift = (numrho - 1) / 2;
|