nutonomy / nuscenes-devkit

The devkit of the nuScenes dataset.
https://www.nuScenes.org
Other
2.24k stars 617 forks source link

get the pixel coordinates and then assign to each pixel depth value #919

Closed Jezer-Zhang closed 1 year ago

Jezer-Zhang commented 1 year ago

hi, i am trying to extract one channel tensor form lidar samples, containing the depth value (z) in corresponding pixel coordinate. is there any developer that can help?

whyekit-motional commented 1 year ago

@Jezer-Zhang one possibility is to refer to map_pointcloud_to_image to figure out which image pixel each lidar point falls in