-
Notifications
You must be signed in to change notification settings - Fork 150
Closed
Description
The following line doesn't compute the depth, but the distance from a point to the camera. As such, the provided depth_meters files are actually distance_meters instead. Not a big deal as long as you are aware of it, one can convert one to the other using the focal length. But if you aren't aware of it you may get severely wrong results as shown in the screenshots below.
| depth = linalg.norm(position - camera_position[newaxis,newaxis,:], axis=2) |
If you use the provided depth (which is actually distance) to render the image as a point cloud you will get distortions:

If you instead convert the provided depth to the actual depth and then render the image as a point cloud from that:

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels