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