Lines Matching refs:nrows
231 const int nrows = src.rows;
245 Graph<SegmLinkVal> g(nrows * ncols, 4 * (nrows - 1) * (ncols - 1)
246 + (nrows - 1) + (ncols - 1));
255 for (int y = 0; y < nrows - 1; ++y)
295 for (int y = 0; y < nrows - 1; ++y)
307 r1 = rmap.at<Vec4b>(nrows - 1, x);
308 r2[0] = rmap.at<Vec4b>(nrows - 1, x + 1);
309 sp1 = spmap.at<Vec2s>(nrows - 1, x);
310 sp2[0] = spmap.at<Vec2s>(nrows - 1, x + 1);
313 g.addEdge(pix(nrows - 1, x, ncols), pix(nrows - 1, x + 1, ncols), SegmLinkVal(dr[0], dsp[0]));
359 std::vector<Vec4i> sumcols(nrows * ncols, Vec4i(0, 0, 0, 0));
360 for (int y = 0; y < nrows; ++y)
378 for (int y = 0; y < nrows; ++y)