TSAM icon indicating copy to clipboard operation
TSAM copied to clipboard

why use "-flow" when compute non-occlusion mask?

Open Pixie8888 opened this issue 4 years ago • 2 comments

Hi, Thanks for releasing code! I have a question about optical flow. Why you use "-flow" instead of "flow" in the warping function? image

Pixie8888 avatar Jul 15 '21 11:07 Pixie8888

Thanks for your interest. E.g. The flow is computed based on Img1 -> Img2, if we want to warp back from Img2 to Img1 pixel by pixel. We need to use the reverse flow from Img2 -> Img1.

MaureenZOU avatar Aug 11 '21 23:08 MaureenZOU

Thanks for your interest. E.g. The flow is computed based on Img1 -> Img2, if we want to warp back from Img2 to Img1 pixel by pixel. We need to use the reverse flow from Img2 -> Img1.

Hi, As you mentioned, flow is computed based on Img1 -> Img2 but what we need is the flow from Img2 -> Img1. My concern is that does the -flow equals to the flow from Img2 -> Img1?

Thanks!

Huihui1002 avatar Aug 24 '21 11:08 Huihui1002