Hi, I'm trying to use Realsense cameras with instant-ngp, but I'm having some confusion in building transforms.json. I use two cameras, T265 for pose and D435i for RGB and depth images. Their axes are shown below, where the left axis is T265's (same as NeRF) and the right axis is D435i's.
I take the position of the camera when it starts as the origin of the world coordinates, and when the camera moves, I can get the rotation and translation information as follows.
The world-to-camera (w2c) rotation and translation matrices is
My questions are:
1.Should I transform the depth coordinates to the T265 (NeRF) coordinates?
2.I set the integer_depth_scale to the D435i's depth scale (about 0.001), which means depth * depth_scale = real_distance_in_meters. I don't know if I should scale it.
3.Should I scale or translate the transform matrix to let the origin of the world coordinates be the center of the scene? For example, if I want to reconstruct a room, should I need to let the origin of the world coordinates be the center of the room?
Thanks!
Hi, I'm trying to use Realsense cameras with instant-ngp, but I'm having some confusion in building
transforms.json
. I use two cameras, T265 for pose and D435i for RGB and depth images. Their axes are shown below, where the left axis is T265's (same as NeRF) and the right axis is D435i's. I take the position of the camera when it starts as the origin of the world coordinates, and when the camera moves, I can get the rotation and translation information as follows. The world-to-camera (w2c) rotation and translation matrices isI find
transforms.json
needs the camera-to-world (c2w) transform matrix, soMy questions are: 1.Should I transform the depth coordinates to the T265 (NeRF) coordinates? 2.I set the
integer_depth_scale
to the D435i's depth scale (about 0.001), which meansdepth * depth_scale = real_distance_in_meters
. I don't know if I should scale it. 3.Should I scale or translate the transform matrix to let the origin of the world coordinates be the center of the scene? For example, if I want to reconstruct a room, should I need to let the origin of the world coordinates be the center of the room? Thanks!