-
Notifications
You must be signed in to change notification settings - Fork 217
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
In the mono image, how to transform depth to point cloud ? #15
Comments
I use the pre-trained DORN model. You can download it from https://github.com/hufu6371/DORN . |
DORN just make the first step depth estimation from RGB image to RGB-depth, but not provide generate point cloud. |
You can use my code to convert disparity to point clouds. https://github.com/mileyan/pseudo_lidar#convert-the-disparities-to-point-clouds |
Update: Please add |
Hi, do we need to do any processing before using the depth generated by DORN to generate pointcloud? I use the depth generated with DORN pretrain model, using code here: https://github.com/hufu6371/DORN/blob/master/demo_kitti.py . Juding from the code, the depth is saved to .png, and the result looks well. depth = depth_prediction(args.filename) However, the point cloud generated with the provided code is obviously wrong. Do I need to do some preprocessing with the depth (for example divided by 256) to use it? |
I solved the problem described above and successfully generated valid pointcloud with depth generated by DORN.
|
Thanks so much. I have update the code. |
Hi, DeriZsy. Just using the depth image to generate the point clouds or need to predict the disparities first? I have already using the DORN caffe version demo code generate the depth image. |
Use the depth directly. Notice the 'is-depth' flag here in the code for lidar generation in this repo. |
First move the depth image to predict_disparity folder? |
plz read the code yourself... then you got all the answers... brian is a good thing |
when the mono depth image generate the point clouds, each need the camera calibration file. If using common other image out of KITTI there is no camera calibration file, so cannot generate to the point clouds. |
Yes, you need calibration parameters when you generate the point cloud. |
In the monocular image, how to get the point cloud from depth image?
The text was updated successfully, but these errors were encountered: