Home | History | Annotate | Download | only in src

Lines Matching defs:I1wx

205         UMat &u1, UMat &u2, UMat &I1w, UMat &I1wx, UMat &I1wy,
208 bool estimateU(UMat &I1wx, UMat &I1wy, UMat &grad,
237 UMat &u1, UMat &u2, UMat &I1w, UMat &I1wx, UMat &I1wy,
262 idxArg = kernel.set(idxArg, ocl::KernelArg::PtrWriteOnly(I1wx));//float* I1wx
279 bool cv_ocl_tvl1flow::estimateU(UMat &I1wx, UMat &I1wy, UMat &grad,
284 size_t globalsize[2] = { I1wx.cols, I1wx.rows };
291 idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(I1wx)); //const float* I1wx
292 idxArg = kernel.set(idxArg, (int)(I1wx.cols)); //int I1wx_col
293 idxArg = kernel.set(idxArg, (int)(I1wx.rows)); //int I1wx_row
294 idxArg = kernel.set(idxArg, (int)(I1wx.step/I1wx.elemSize())); //int I1wx_step
874 Mat_<float> I1wx;
888 const float* I1wxRow = I1wx[y];
910 void calcGradRho(const Mat_<float>& I0, const Mat_<float>& I1w, const Mat_<float>& I1wx, const Mat_<float>& I1wy, const Mat_<float>& u1, const Mat_<float>& u2,
914 CV_DbgAssert( I1wx.size() == I0.size() );
925 body.I1wx = I1wx;
942 Mat_<float> I1wx;
961 const float* I1wxRow = I1wx[y];
973 for (int x = 0; x < I1wx.cols; ++x)
1007 void estimateV(const Mat_<float>& I1wx, const Mat_<float>& I1wy, const Mat_<float>& u1, const Mat_<float>& u2, const Mat_<float>& u3, const Mat_<float>& grad, const Mat_<float>& rho_c,
1010 CV_DbgAssert( I1wy.size() == I1wx.size() );
1011 CV_DbgAssert( u1.size() == I1wx.size() );
1012 CV_DbgAssert( u2.size() == I1wx.size() );
1013 CV_DbgAssert( grad.size() == I1wx.size() );
1014 CV_DbgAssert( rho_c.size() == I1wx.size() );
1015 CV_DbgAssert( v1.size() == I1wx.size() );
1016 CV_DbgAssert( v2.size() == I1wx.size() );
1020 body.I1wx = I1wx;
1032 parallel_for_(Range(0, I1wx.rows), body);
1210 UMat I1wx = dum.I1wx_buf(Rect(0, 0, I0.cols, I0.rows));
1233 if (!warpBackward(I0, I1, I1x, I1y, u1, u2, I1w, I1wx, I1wy, grad, rho_c))
1250 if (!estimateU(I1wx, I1wy, grad, rho_c, p11, p12, p21, p22,
1288 Mat_<float> I1wx = dm.I1wx_buf(Rect(0, 0, I0.cols, I0.rows));
1331 remap(I1x, I1wx, flowMap1, flowMap2, INTER_CUBIC);
1334 calcGradRho(I0, I1w, I1wx, I1wy, u1, u2, grad, rho_c);
1346 estimateV(I1wx, I1wy, u1, u2, u3, grad, rho_c, v1, v2, v3, l_t, static_cast<float>(gamma));