fabiotosi92 / NeRF-Supervised-Deep-Stereo

A novel paradigm for collecting and generating stereo training data using neural rendering
https://nerfstereo.github.io/
MIT License
348 stars 19 forks source link

[About instant-ngp depth map generation] #33

Closed CaptainEven closed 1 year ago

CaptainEven commented 1 year ago

Hi, i got a 4 channel image(H×W×4) like 4channel_depth when i set depth mode

testbed.render_mode = ngp.Depth

how to convert this image(shift=0.2) into a corresponding disparity map by the formular: disparity = baseline * focal / depth, as the shift(baseline) 's range may not be the same with the depth obtained above?