facebookarchive / Surround360

Surround360 is Facebook's open source hardware and software for capturing stereoscopic 3D 360 video for VR. The repo contains hardware designs, as well as software for camera control and rendering.
Other
2.17k stars 581 forks source link

in generateNovelViewSimpleCvRemap,why imageL use flowRtoL?thanks! #274

Open douzimm opened 5 years ago

douzimm commented 5 years ago
        outNovelViewFromL = NovelViewUtil::generateNovelViewSimpleCvRemap(
                                imageL, flowRtoL, shiftFromL);
aparrapo commented 5 years ago

Hi @douzimm, flowRtoL tells us where pixels from the right view end up on the left view. We use it to know where to place new pixels in the left image, i.e.

warpMap(y, x) = (x + flowRtoL(y, x).x * shiftFromL, y + flowRtoL(y, x).y * shiftFromL);