Lines Matching refs:edges
110 uchar* edges = (uchar*)cvAlloc(sizeof(uchar)*imgW*imgH);
160 edges[y*imgW] = edges[y*imgW+1] = edges[y*imgW+2] = 2;
161 edges[y*imgW+imgW-1] = edges[y*imgW+imgW-2] = edges[y*imgW+imgW-3] = 1;
164 edges[y*imgW+j] = 0;
169 edges[y*imgW+j] |= 1;
174 edges[y*imgW+j] |= 2;
196 uchar* _edges = edges + y*imgW + x;
329 edges[y*imgW+x] |= 4;
330 edges[(y+1)*imgW+x] |= 4;
331 edges[(y-1)*imgW+x] |= 4;
341 prev = edges[y*imgW];
344 curr = edges[y*imgW+x];
347 !( edges[y*imgW+x+1] & 4 ) ) )
349 edges[y*imgW+x] -= 4;
377 if( reliabilities[y*imgW+x] >= param4 && !(edges[y*imgW+x] & 4) &&
384 if( ( edges[i*imgW+x] & 4 ) ||
396 if( ( edges[i*imgW+x] & 4 ) ||
434 if( reliabilities[y*imgW+x] >= param4 && !(edges[y*imgW+x] & 1) &&
441 if( (edges[y*imgW+i] & 1) ||
453 if( (edges[y*imgW+i] & 1) ||
472 cvFree( &edges );