D | tvl1flow.cpp | 136 std::vector<GpuMat> u1s; member in __anonbaa2fb090111::OpticalFlowDual_TVL1_Impl 187 u1s.resize(nscales_); in calcImpl() 200 u1s[0] = flowx; in calcImpl() 242 … cuda::resize(u1s[s-1], u1s[s], Size(), scaleStep_, scaleStep_, INTER_LINEAR, stream); in calcImpl() 245 cuda::multiply(u1s[s], Scalar::all(scaleStep_), u1s[s], 1, -1, stream); in calcImpl() 250 u1s[s].create(I0s[s].size(), CV_32FC1); in calcImpl() 261 u1s[nscales_-1].setTo(Scalar::all(0), stream); in calcImpl() 273 procOneScale(I0s[s], I1s[s], u1s[s], u2s[s], u3s[s], stream); in calcImpl() 282 cuda::resize(u1s[s], u1s[s - 1], I0s[s - 1].size(), 0, 0, INTER_LINEAR, stream); in calcImpl() 290 cuda::multiply(u1s[s - 1], Scalar::all(1/scaleStep_), u1s[s - 1], 1, -1, stream); in calcImpl()
|