yanii / kitti-pcl

Code to use the KITTI (http://www.cvlibs.net/datasets/kitti) data set with PCL
BSD 2-Clause "Simplified" License
335 stars 119 forks source link

pcd2depth #2

Open 3DMM-ICME2023 opened 7 years ago

3DMM-ICME2023 commented 7 years ago

Hi,Thanks for your sharing! I can convert the .bin files into .pcd files with your code(kitti2pcd) ,but i want to get the depth of kitti, I use the createFromPointCloud of PCL when the input is .pcd ,then i meet the Segmentation fault (core dumped).Do you know why? Thank you in advance!

wassryan commented 5 years ago

@liu666666 hello, I have also converted the .bin files into .pcd files using kitti2pcd.cpp, and I did meet the same problem as you did( I've met the Segmentation fault when using the createFromPointCloud of PCL to transform pcd file to range image), have you figure it out? how to solve it? thanks

crankler commented 4 years ago

@wassryan can you share your detail way to converte the .bin files, here is my try:

mkdir build && cd build 
cmake ..
make 

then go to script, and I don't know how to do. the .bin file locate in another file, and the kitti2pcd and kittitrackletextract locate in /build/bin so how should I do? Thank you for your idea!

804463592 commented 1 year ago

Hi,Thanks for your sharing! I can convert the .bin files into .pcd files with your code(kitti2pcd) ,but i want to get the depth of kitti, I use the createFromPointCloud of PCL when the input is .pcd ,then i meet the Segmentation fault (core dumped).Do you know why? Thank you in advance!

The problem may be that the last point in the converted pcd file is "0 0 0 0", You can go to my blog for more details: http://blog.leanote.com/post/lee-romantic/%E7%82%B9%E4%BA%91%E6%95%B0%E6%8D%AE%E6%A0%BC%E5%BC%8Fbin%E8%BD%AC%E4%B8%BApcd