Home
last modified time | relevance | path

Searched refs:numrho (Results 1 – 6 of 6) sorted by relevance

/external/opencv3/modules/cudaimgproc/src/cuda/
Dhough_lines.cu61 … 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/
Dhough.cpp97 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/
Dcvhough.cpp99 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/
Dhough_segments.cpp157 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()
Dhough_lines.cpp153 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/
Dhough_lines.cl61 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;