Lines Matching refs:img
91 uchar* img = pImage + step * seed.y; in icvSegmFloodFill_Stage1() local
103 img = pImage + seed.y*step; in icvSegmFloodFill_Stage1()
107 val0[0] = img[seed.x*3]; in icvSegmFloodFill_Stage1()
108 val0[1] = img[seed.x*3 + 1]; in icvSegmFloodFill_Stage1()
109 val0[2] = img[seed.x*3 + 2]; in icvSegmFloodFill_Stage1()
111 while( DIFF( img + (R+1)*3, /*img + R*3*/val0 ) && !mask[R + 1] ) in icvSegmFloodFill_Stage1()
114 while( DIFF( img + (L-1)*3, /*img + L*3*/val0 ) && !mask[L - 1] ) in icvSegmFloodFill_Stage1()
145 img = pImage + (YC + flag) * step; in icvSegmFloodFill_Stage1()
152 if( !mask[i] && DIFF( img + i*3, /*img - curstep + i*3*/val0 )) in icvSegmFloodFill_Stage1()
156 while( !mask[j - 1] && DIFF( img + (j - 1)*3, /*img + j*3*/val0 )) in icvSegmFloodFill_Stage1()
160 (DIFF( img + (i+1)*3, /*img + i*3*/val0 ) || in icvSegmFloodFill_Stage1()
161 (DIFF( img + (i+1)*3, /*img + (i+1)*3 - curstep*/val0) && i < R))) in icvSegmFloodFill_Stage1()
170 img = pImage + YC * step; in icvSegmFloodFill_Stage1()
174 sum[0] += img[i*3]; in icvSegmFloodFill_Stage1()
175 sum[1] += img[i*3 + 1]; in icvSegmFloodFill_Stage1()
176 sum[2] += img[i*3 + 2]; in icvSegmFloodFill_Stage1()
211 uchar* img = pImage + step * rect.y + rect.x * 3; in icvSegmFloodFill_Stage2() local
216 for( y = 0; y < rect.height; y++, img += step, mask += maskStep ) in icvSegmFloodFill_Stage2()
221 img[x*3] = uv[0]; in icvSegmFloodFill_Stage2()
222 img[x*3+1] = uv[1]; in icvSegmFloodFill_Stage2()
223 img[x*3+2] = uv[2]; in icvSegmFloodFill_Stage2()
335 icvGetComponent( uchar* img, int step, CvRect rect, in icvGetComponent() argument
348 ptr = (char*)(img + step*rect.y); in icvGetComponent()