Lines Matching refs:u2

125 …void procOneScale(const Mat_<float>& I0, const Mat_<float>& I1, Mat_<float>& u1, Mat_<float>& u2, …
127 bool procOneScale_ocl(const UMat& I0, const UMat& I1, UMat& u1, UMat& u2);
205 UMat &u1, UMat &u2, UMat &I1w, UMat &I1wx, UMat &I1wy,
211 UMat &u2, UMat &error, float l_t, float theta, char calc_error);
213 bool estimateDualVariables(UMat &u1, UMat &u2,
237 UMat &u1, UMat &u2, UMat &I1w, UMat &I1wx, UMat &I1wy, in warpBackward() argument
260 idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(u2));//const float* u2 in warpBackward()
267 idxArg = kernel.set(idxArg, (int)(u2.step / u2.elemSize()));//u2_step in warpBackward()
272 int u2_offset_x = (int)((u2.offset) % (u2.step)); in warpBackward()
273 u2_offset_x = (int) (u2_offset_x / u2.elemSize()); in warpBackward()
275 idxArg = kernel.set(idxArg, (int)(u2.offset / u2.step));//u2_offset_y in warpBackward()
282 UMat &u2, UMat &error, float l_t, float theta, char calc_error) in estimateU() argument
304 idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadWrite(u2)); //float* u2 in estimateU()
308 idxArg = kernel.set(idxArg, (int)(u2.step / u2.elemSize()));//int u2_step in estimateU()
313 int u2_offset_x = (int)(u2.offset % u2.step); in estimateU()
314 u2_offset_x = (int)(u2_offset_x / u2.elemSize()); in estimateU()
316 idxArg = kernel.set(idxArg, (int)(u2.offset / u2.step)); //int u2_offset_y in estimateU()
322 bool cv_ocl_tvl1flow::estimateDualVariables(UMat &u1, UMat &u2, in estimateDualVariables() argument
336 idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(u2)); // const float* u2 in estimateDualVariables()
343 idxArg = kernel.set(idxArg, (int)(u2.step/u2.elemSize())); //int u2_step in estimateDualVariables()
348 int u2_offset_x = (int)(u2.offset % u2.step); in estimateDualVariables()
349 u2_offset_x = (int)(u2_offset_x / u2.elemSize()); in estimateDualVariables()
351 idxArg = kernel.set(idxArg, (int)(u2.offset / u2.step)); //int u2_offset_y in estimateDualVariables()
610 Mat_<float> u2; member
620 const float* u2Row = u2[y]; in operator ()()
633 void buildFlowMap(const Mat_<float>& u1, const Mat_<float>& u2, Mat_<float>& map1, Mat_<float>& map… in buildFlowMap() argument
635 CV_DbgAssert( u2.size() == u1.size() ); in buildFlowMap()
642 body.u2 = u2; in buildFlowMap()
877 Mat_<float> u2; member
891 const float* u2Row = u2[y]; in operator ()()
910 …1w, const Mat_<float>& I1wx, const Mat_<float>& I1wy, const Mat_<float>& u1, const Mat_<float>& u2, in calcGradRho() argument
917 CV_DbgAssert( u2.size() == I0.size() ); in calcGradRho()
928 body.u2 = u2; in calcGradRho()
945 Mat_<float> u2; member
964 const float* u2Row = u2[y]; in operator ()()
1007 …& I1wx, const Mat_<float>& I1wy, const Mat_<float>& u1, const Mat_<float>& u2, const Mat_<float>& … in estimateV() argument
1012 CV_DbgAssert( u2.size() == I1wx.size() ); in estimateV()
1023 body.u2 = u2; in estimateV()
1040 Mat_<float>& u1, Mat_<float>& u2, Mat_<float>& u3, in estimateU() argument
1047 CV_DbgAssert( u2.size() == v1.size() ); in estimateU()
1061 float* u2Row = u2[y]; in estimateU()
1183 bool OpticalFlowDual_TVL1::procOneScale_ocl(const UMat& I0, const UMat& I1, UMat& u1, UMat& u2) in procOneScale_ocl() argument
1192 CV_DbgAssert(u2.size() == u1.size()); in procOneScale_ocl()
1199 u2.create(I0.size(), CV_32FC1); in procOneScale_ocl()
1200 u2.setTo(Scalar::all(0)); in procOneScale_ocl()
1233 if (!warpBackward(I0, I1, I1x, I1y, u1, u2, I1w, I1wx, I1wy, grad, rho_c)) in procOneScale_ocl()
1243 cv::medianBlur(u2, u2, medianFiltering); in procOneScale_ocl()
1251 u1, u2, diff, l_t, static_cast<float>(theta), calc_error)) in procOneScale_ocl()
1263 if (!estimateDualVariables(u1, u2, p11, p12, p21, p22, taut)) in procOneScale_ocl()
1271 …le(const Mat_<float>& I0, const Mat_<float>& I1, Mat_<float>& u1, Mat_<float>& u2, Mat_<float>& u3) in procOneScale() argument
1278 CV_DbgAssert( u2.size() == u1.size() ); in procOneScale()
1329 buildFlowMap(u1, u2, flowMap1, flowMap2); in procOneScale()
1334 calcGradRho(I0, I1w, I1wx, I1wy, u1, u2, grad, rho_c); in procOneScale()
1341 cv::medianBlur(u2, u2, medianFiltering); in procOneScale()
1346 … estimateV(I1wx, I1wy, u1, u2, u3, grad, rho_c, v1, v2, v3, l_t, static_cast<float>(gamma)); in procOneScale()
1354 …error = estimateU(v1, v2, v3, div_p1, div_p2, div_p3, u1, u2, u3, static_cast<float>(theta), stati… in procOneScale()
1358 forwardGradient(u2, u2x, u2y); in procOneScale()