dvlab-research/DSGN

About the construction of Plane Sweep Volume

Baboom-l opened this issue · 4 comments

Hi!I wonder whether the camera parameters need to be introduced when building the Plane Sweep Volume. What is the difference between your Plane Sweep Volume and the Cost Volume in Stereo matching?

I think you want to detail the difference between PSV and traditional stereo cost volume. PSV projects images to a set of equally-spaced depth planes while traditional cost volume projects images to a set of equally-spaced disparity planes (in stereo matching, it moves the right images pixel by pixel along the planes). Here, depth is inversely related to the disparity. You might check DSGN paper for details.

Thank you for your reply. According to your paper, the features extracted from the right image when constructing the PSV is sub-pixel level. May I ask what strategy you adopted to extract the features corresponding to the depth of the right image?

Given the float coordinate, features are extracted using bilinear interpolation. You may check

cost[index_R] = bilinear_interpolate(offset_right, height, width, (T)ph, (T)pw + shift_pd);
.

Thanks a lot!