nutonomy / nuscenes-devkit

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

pixel coordinate to global coordinate #918

Closed ChengWang2018 closed 1 year ago

ChengWang2018 commented 1 year ago

Hi,

I use a lane detection algorithm to detect the lanes in Nuscene dataset. The results (points) are on the pixel coordinate system, How can I convert it global coordinate system so that I can compare the results with lanes in the map.

Thanks a lot!

whyekit-motional commented 1 year ago

@ChengWang2018 I think this depends on how you transformed the lanes in the map from the global coordinate system to the pixel coordinate system in the first place

ChengWang2018 commented 1 year ago

I have not done that. I use images for the lane detection. Thus, the mp is firstly not needed. So, I donot quite understand your ideas. Could you explain it a bit more? Thanks!

whyekit-motional commented 1 year ago

There's a method map_pointcloud_to_image which maps a set of 3D coordinates to a given image - perhaps you can use some of the ideas in there to do the reverse