Lines Matching refs:qx0
241 int qx0 = x + dx; in operator ()() local
244 if (qy0 >= 0 && qy0 < mask0.rows && qx0 >= 0 && qx0 < mask0.cols && mask0(qy0,qx0)) in operator ()()
246 int qx1 = cvRound(qx0 + flowX(qy0,qx0)); in operator ()()
247 int qy1 = cvRound(qy0 + flowY(qy0,qx0)); in operator ()()
256 if (qx0 > 0 && mask0(qy0,qx0-1)) in operator ()()
258 if (qx0+1 < mask0.cols && mask0(qy0,qx0+1)) in operator ()()
260 dudx = (flowX(qy0,qx0+1) - flowX(qy0,qx0-1)) * 0.5f; in operator ()()
261 dvdx = (flowY(qy0,qx0+1) - flowY(qy0,qx0-1)) * 0.5f; in operator ()()
265 dudx = flowX(qy0,qx0) - flowX(qy0,qx0-1); in operator ()()
266 dvdx = flowY(qy0,qx0) - flowY(qy0,qx0-1); in operator ()()
269 else if (qx0+1 < mask0.cols && mask0(qy0,qx0+1)) in operator ()()
271 dudx = flowX(qy0,qx0+1) - flowX(qy0,qx0); in operator ()()
272 dvdx = flowY(qy0,qx0+1) - flowY(qy0,qx0); in operator ()()
275 if (qy0 > 0 && mask0(qy0-1,qx0)) in operator ()()
277 if (qy0+1 < mask0.rows && mask0(qy0+1,qx0)) in operator ()()
279 dudy = (flowX(qy0+1,qx0) - flowX(qy0-1,qx0)) * 0.5f; in operator ()()
280 dvdy = (flowY(qy0+1,qx0) - flowY(qy0-1,qx0)) * 0.5f; in operator ()()
284 dudy = flowX(qy0,qx0) - flowX(qy0-1,qx0); in operator ()()
285 dvdy = flowY(qy0,qx0) - flowY(qy0-1,qx0); in operator ()()
288 else if (qy0+1 < mask0.rows && mask0(qy0+1,qx0)) in operator ()()
290 dudy = flowX(qy0+1,qx0) - flowX(qy0,qx0); in operator ()()
291 dvdy = flowY(qy0+1,qx0) - flowY(qy0,qx0); in operator ()()
300 uEst += w * (flowX(qy0,qx0) - dudx*dx - dudy*dy); in operator ()()
301 vEst += w * (flowY(qy0,qx0) - dvdx*dx - dvdy*dy); in operator ()()