Lines Matching refs:edges
208 …void computeEdges(const PtrStepSzb& image, PtrStepSzb edges, const float4& lo, const float4& hi, c… in computeEdges() argument
216 …ivity<T, Int_t><<<grid, block, 0, stream>>>(static_cast<const PtrStepSz<T> >(image), edges, inInt); in computeEdges()
223 …template void computeEdges<uchar> (const PtrStepSzb& image, PtrStepSzb edges, const float4& lo, c…
224 …template void computeEdges<uchar3> (const PtrStepSzb& image, PtrStepSzb edges, const float4& lo, c…
225 …template void computeEdges<uchar4> (const PtrStepSzb& image, PtrStepSzb edges, const float4& lo, c…
226 …template void computeEdges<ushort> (const PtrStepSzb& image, PtrStepSzb edges, const float4& lo, c…
227 …template void computeEdges<ushort3>(const PtrStepSzb& image, PtrStepSzb edges, const float4& lo, c…
228 …template void computeEdges<ushort4>(const PtrStepSzb& image, PtrStepSzb edges, const float4& lo, c…
229 …template void computeEdges<int> (const PtrStepSzb& image, PtrStepSzb edges, const float4& lo, c…
230 …template void computeEdges<float> (const PtrStepSzb& image, PtrStepSzb edges, const float4& lo, c…
232 __global__ void lableTiles(const PtrStepSzb edges, PtrStepSzi comps) in lableTiles() argument
237 if (x >= edges.cols || y >= edges.rows) return; in lableTiles()
240 int bounds = ((y + TPB_Y) < edges.rows); in lableTiles()
255 component c = edges(bounds * (y + CTA_SIZE_Y * i), x + CTA_SIZE_X * j); in lableTiles()
360 label = yloc * edges.cols + xloc; in lableTiles()
400 const PtrStepSzb edges, PtrStepSzi comps, const int yIncomplete, int xIncomplete) in crossMerge() argument
412 tileSizeY = (edges.rows % tileSizeY); in crossMerge()
425 tileSizeX = (edges.cols % tileSizeX); in crossMerge()
456 component e = edges( x, y); in crossMerge()
475 component e = edges(x, y); in crossMerge()
488 __global__ void flatten(const PtrStepSzb edges, PtrStepSzi comps) in flatten() argument
499 … void labelComponents(const PtrStepSzb& edges, PtrStepSzi comps, int flags, cudaStream_t stream) in labelComponents() argument
503 dim3 grid(divUp(edges.cols, TILE_COLS), divUp(edges.rows, TILE_ROWS)); in labelComponents()
505 lableTiles<<<grid, block, 0, stream>>>(edges, comps); in labelComponents()
515 …crossMerge<<<mergeGrid, mergeBlock, 0, stream>>>(2, 2, tileSizeY, tileSizeX, edges, comps, (int)ce… in labelComponents()
523 grid.x = divUp(edges.cols, block.x); in labelComponents()
524 grid.y = divUp(edges.rows, block.y); in labelComponents()
525 flatten<<<grid, block, 0, stream>>>(edges, comps); in labelComponents()