NVlabs / PWC-Net

PWC-Net: CNNs for Optical Flow Using Pyramid, Warping, and Cost Volume, CVPR 2018 (Oral)
Other
1.63k stars 357 forks source link

Why warp the second image back to the first one instead of opposite? #106

Open ProNoobLi opened 4 years ago

ProNoobLi commented 4 years ago

Based on my understanding, the flow filed always indicates the flow of each pixel from the previous frame to the current one. However, why and how do you do the warping from the second back to the first one? image

deqings commented 4 years ago

Please check this example for the difference between forward and backward warping https://www.researchgate.net/figure/Forward-and-backward-image-warping-In-the-case-of-foward-warping-A-holes-can-occur_fig2_267946997