Lines Matching refs:flowx
89 static void drawOpticalFlow(const Mat_<float>& flowx, const Mat_<float>& flowy, Mat& dst, float maxmotion = -1)
91 dst.create(flowx.size(), CV_8UC3);
100 for (int y = 0; y < flowx.rows; ++y)
102 for (int x = 0; x < flowx.cols; ++x)
104 Point2f u(flowx(y, x), flowy(y, x));
114 for (int y = 0; y < flowx.rows; ++y)
116 for (int x = 0; x < flowx.cols; ++x)
118 Point2f u(flowx(y, x), flowy(y, x));
131 Mat flowx(planes[0]);
135 drawOpticalFlow(flowx, flowy, out, 10);