Merge pull request #1317 from jet47:gpu-tvl1-optimization
This commit is contained in:
commit
fe4c7ae4ae
@ -222,7 +222,8 @@ void cv::gpu::OpticalFlowDual_TVL1_GPU::procOneScale(const GpuMat& I0, const Gpu
|
|||||||
{
|
{
|
||||||
estimateU(I1wx, I1wy, grad, rho_c, p11, p12, p21, p22, u1, u2, diff, l_t, static_cast<float>(theta));
|
estimateU(I1wx, I1wy, grad, rho_c, p11, p12, p21, p22, u1, u2, diff, l_t, static_cast<float>(theta));
|
||||||
|
|
||||||
error = gpu::sum(diff, norm_buf)[0];
|
if (epsilon > 0)
|
||||||
|
error = gpu::sum(diff, norm_buf)[0];
|
||||||
|
|
||||||
estimateDualVariables(u1, u2, p11, p12, p21, p22, taut);
|
estimateDualVariables(u1, u2, p11, p12, p21, p22, taut);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user