Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about generating KITTI range view images #16

Open
tengteng95 opened this issue Apr 13, 2022 · 6 comments
Open

Question about generating KITTI range view images #16

tengteng95 opened this issue Apr 13, 2022 · 6 comments

Comments

@tengteng95
Copy link

tengteng95 commented Apr 13, 2022

Thanks for your great work. Could you please tell me the meaning of height and incl in the function get_range_image [code] ?

@Abyssaledge
Copy link
Collaborator

height means the vertical height of each laser beam.
incl means the inclination of each laser beam.
Note that the 64 laser beams of LiDAR are not emitted from a single point.

@Devoe-97
Copy link

height means the vertical height of each laser beam. incl means the inclination of each laser beam. Note that the 64 laser beams of LiDAR are not emitted from a single point.

Thanks for your great work. Could you please tell me how to calculate the height and zenith? Can the nuscenes data be converted into range view data format? What should I do for it?

@Abyssaledge
Copy link
Collaborator

@HuangDihe The heights and zeniths we used in KITTI are provided by the authors of RCD, which is obtained via Hough Transformation. You need to estimate height and zenith for each beam, which is somewhat similar to line detection with Hough Transformation. I believe you can do it in NuScenes but I cannot provide you the source code.

@qrzeffort
Copy link

@Abyssaledge Thanks for your great work! I run the code :
python ./datasets/create_range_image_in_kitti.py --source-dir data/kitti --target-dir output
but there is no results in --target-dir(only have npz_test,npz_trainval folder with no files and have .roidb files(5 Byte)),and report:

Error: 'lidar_idx'

the kitti data organized as follow,and generated .pkl files
data
│ ├── kitti
│ │ │── ImageSets
│ │ │── training
│ │ │ ├──calib & velodyne & label_2 & image_2 & (optional: planes) & (optional: depth_2)
│ │ │── testing
│ │ │ ├──calib & velodyne & image_2

@Myszz248
Copy link

@Abyssaledge Thanks for your great work! I run the code : python ./datasets/create_range_image_in_kitti.py --source-dir data/kitti --target-dir output but there is no results in --target-dir(only have npz_test,npz_trainval folder with no files and have .roidb files(5 Byte)),and report:

Error: 'lidar_idx'

the kitti data organized as follow,and generated .pkl files data │ ├── kitti │ │ │── ImageSets │ │ │── training │ │ │ ├──calib & velodyne & label_2 & image_2 & (optional: planes) & (optional: depth_2) │ │ │── testing │ │ │ ├──calib & velodyne & image_2

You may encounter error: lidar-idx because you named the storage differently from the author when generating the kitti_infos_trainval.pkl file for the kitti dataset. You can open your pkl file and look up the two memory names in 'point_cloud' to find the one that corresponds to 'lidar-idx', Then change the 'lidar-idx' in the process_single_frame function of create_range_image_in_kitti.py to the corresponding name

@QYChan
Copy link

QYChan commented May 9, 2023

@Abyssaledge What is the version of mmdet3d? The kitti pkl file changed in different version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants