andyzeng / tsdf-fusion

Fuse multiple depth frames into a TSDF voxel volume.
http://andyzeng.github.io/
BSD 2-Clause "Simplified" License
734 stars 134 forks source link

Support for correcting radial and tangential distortion #19

Open noorvir opened 5 years ago

noorvir commented 5 years ago

Is there something in the works for radial and tangential distortion correction? Since the Integrate function loops over the voxel grid, am I right in saying that implementing something like this would involve computing a mesh-grid of the image dimensions (640 x 480 for instance) and use that to compute the radial distance from the camera optical axis? You then only consider the point [pt_cam_x, pt_cam_y, pt_cam_z] if it is within the camera dimensions?

https://github.com/andyzeng/tsdf-fusion/blob/ef59a08b1736fc0aa3f5f0c20c3b1f9854e97904/demo.cu#L22

Thanks