Lines Matching refs:u1
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,
210 UMat &p21, UMat &p22, UMat &u1,
213 bool estimateDualVariables(UMat &u1, UMat &u2,
237 UMat &u1, UMat &u2, UMat &I1w, UMat &I1wx, UMat &I1wy, in warpBackward() argument
258 idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(u1));//const float* u1 in warpBackward()
259 idxArg = kernel.set(idxArg, (int)(u1.step / u1.elemSize()));//int u1_step in warpBackward()
268 int u1_offset_x = (int)((u1.offset) % (u1.step)); in warpBackward()
269 u1_offset_x = (int)(u1_offset_x / u1.elemSize()); in warpBackward()
271 idxArg = kernel.set(idxArg, (int)(u1.offset/u1.step));//u1_offset_y in warpBackward()
281 UMat &p21, UMat &p22, UMat &u1, in estimateU() argument
302 idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadWrite(u1)); //float* u1 in estimateU()
303 idxArg = kernel.set(idxArg, (int)(u1.step / u1.elemSize())); //int u1_step in estimateU()
309 int u1_offset_x = (int)(u1.offset % u1.step); in estimateU()
310 u1_offset_x = (int) (u1_offset_x / u1.elemSize()); in estimateU()
312 idxArg = kernel.set(idxArg, (int)(u1.offset/u1.step)); //int u1_offset_y in estimateU()
322 bool cv_ocl_tvl1flow::estimateDualVariables(UMat &u1, UMat &u2, in estimateDualVariables() argument
325 size_t globalsize[2] = { u1.cols, u1.rows }; in estimateDualVariables()
332 idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(u1));// const float* u1 in estimateDualVariables()
333 idxArg = kernel.set(idxArg, (int)(u1.cols)); //int u1_col in estimateDualVariables()
334 idxArg = kernel.set(idxArg, (int)(u1.rows)); //int u1_row in estimateDualVariables()
335 idxArg = kernel.set(idxArg, (int)(u1.step/u1.elemSize())); //int u1_step in estimateDualVariables()
344 int u1_offset_x = (int)(u1.offset % u1.step); in estimateDualVariables()
345 u1_offset_x = (int)(u1_offset_x / u1.elemSize()); in estimateDualVariables()
347 idxArg = kernel.set(idxArg, (int)(u1.offset / u1.step)); //int u1_offset_y in estimateDualVariables()
609 Mat_<float> u1; member
619 const float* u1Row = u1[y]; in operator ()()
625 for (int x = 0; x < u1.cols; ++x) 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()
636 CV_DbgAssert( map1.size() == u1.size() ); in buildFlowMap()
637 CV_DbgAssert( map2.size() == u1.size() ); in buildFlowMap()
641 body.u1 = u1; in buildFlowMap()
646 parallel_for_(Range(0, u1.rows), body); in buildFlowMap()
876 Mat_<float> u1; member
890 const float* u1Row = u1[y]; in operator ()()
910 … I1w, const Mat_<float>& I1wx, const Mat_<float>& I1wy, const Mat_<float>& u1, const Mat_<float>& … in calcGradRho() argument
916 CV_DbgAssert( u1.size() == I0.size() ); in calcGradRho()
927 body.u1 = u1; in calcGradRho()
944 Mat_<float> u1; member
963 const float* u1Row = u1[y]; in operator ()()
1007 void estimateV(const Mat_<float>& I1wx, const Mat_<float>& I1wy, const Mat_<float>& u1, const Mat_<… in estimateV() argument
1011 CV_DbgAssert( u1.size() == I1wx.size() ); in estimateV()
1022 body.u1 = u1; in estimateV()
1040 Mat_<float>& u1, Mat_<float>& u2, Mat_<float>& u3, in estimateU() argument
1046 CV_DbgAssert( u1.size() == v1.size() ); in estimateU()
1060 float* u1Row = u1[y]; in estimateU()
1183 bool OpticalFlowDual_TVL1::procOneScale_ocl(const UMat& I0, const UMat& I1, UMat& u1, UMat& u2) in procOneScale_ocl() argument
1191 CV_DbgAssert(u1.empty() || u1.size() == I0.size()); in procOneScale_ocl()
1192 CV_DbgAssert(u2.size() == u1.size()); in procOneScale_ocl()
1194 if (u1.empty()) in procOneScale_ocl()
1196 u1.create(I0.size(), CV_32FC1); in procOneScale_ocl()
1197 u1.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()
1242 cv::medianBlur(u1, u1, 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 …1::procOneScale(const Mat_<float>& I0, const Mat_<float>& I1, Mat_<float>& u1, Mat_<float>& u2, Ma… in procOneScale() argument
1277 CV_DbgAssert( u1.size() == I0.size() ); in procOneScale()
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()
1340 cv::medianBlur(u1, u1, 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()
1357 forwardGradient(u1, u1x, u1y); in procOneScale()