Home | History | Annotate | Download | only in cuda

Lines Matching refs:accum

63                                             PtrStepi accum, const int width, const int height, const int minRadius, const int maxRadius, const float idp)
106 ::atomicAdd(accum.ptr(y2 + 1) + x2 + 1, 1);
114 void circlesAccumCenters_gpu(const unsigned int* list, int count, PtrStepi dx, PtrStepi dy, PtrStepSzi accum, int minRadius, int maxRadius, float idp)
121 circlesAccumCenters<<<grid, block>>>(list, count, dx, dy, accum, accum.cols - 2, accum.rows - 2, minRadius, maxRadius, idp);
130 __global__ void buildCentersList(const PtrStepSzi accum, unsigned int* centers, const int threshold)
135 if (x < accum.cols - 2 && y < accum.rows - 2)
137 const int top = accum(y, x + 1);
139 const int left = accum(y + 1, x);
140 const int cur = accum(y + 1, x + 1);
141 const int right = accum(y + 1, x + 2);
143 const int bottom = accum(y + 2, x + 1);
154 int buildCentersList_gpu(PtrStepSzi accum, unsigned int* centers, int threshold)
162 const dim3 grid(divUp(accum.cols - 2, block.x), divUp(accum.rows - 2, block.y));
166 buildCentersList<<<grid, block>>>(accum, centers, threshold);