neural-deferred-shading
neural-deferred-shading copied to clipboard
ValueError: Surface level must be within volume data range.
Hi. I'm trying to reconstruct an object captured via Record3D. I have extracted camera matrices from the .r3d file, added alpha channels to the captured images to act as masks, using this background removal tool, then resized images to 384*512, and also resized the K matrices accordingly. I've attached the resulting dataset below.
I have tried various bounding box sizes. I tried calculating it from the camera positions. One issue is that all cameras are positioned in front of the object so this method may not work. Then, just to test it out, I tried entering increasingly large values as bounding box, from [[-0.5, -0.5, -0.5],[0.5, 0.5, 0.5]]
to [[-1000, -1000, -1000],[1000, 1000, 1000]]
, but nothing seems to work, I keep getting the ValueError: Surface level must be within volume data range.
error. Any idea what am I doing wrong? I can add more details about how I generated the matrices if necessary.