deep-video-mvs icon indicating copy to clipboard operation
deep-video-mvs copied to clipboard

Width normalizer in cost volume fusion

Open zhouxf53 opened this issue 2 years ago • 0 comments

https://github.com/ardaduz/deep-video-mvs/blob/fa14288f149c5af7b2a49092f729f5c4f44517ba/dvmvs/utils.py#L62

I think it is supposed to be

width_normalizer = (width  - 1) / 2.0
height_normalizer = (height - 1) / 2.0

The reason of that is to map x from [0, width-1] to [-1, 1] to grid sampling instead of map [0, width] to [-1, 1]

zhouxf53 avatar Mar 16 '22 02:03 zhouxf53