Open Astik-2002 opened 2 months ago
I am facing same issue, have you solved it.
I am facing same issue, have you solved it.
Yes. The depth values are normalised in the image. You have to de-normalize them and then convert them to pcd using correct intrinsic parameters
The new depth values are
depth_mm = (2*nearVal*farVal)/(farVal + nearVal - depth_image*(farVal-nearVal))
Here depth_image is a numpy array
Thanks for reply, I was denormalizing it. https://github.com/bulletphysics/bullet3/issues/1924 helped me
Hello. I'm trying to generate a point cloud from depth image generated in gym_pybullet_drone simulation. The generated point cloud is skewed, and so far I've been unable to fix it. I'm calculating the intrinsic parameters of the camera and generating the pcd via this code
I have manually set the fov = 90 in p.computeProjectionMatrixFOV functions. the generated pcd looks like this (video in zipped folder) [Uploading pcd.zip…]() I'll be glad for any help
I'm using this simulator https://github.com/utiasDSL/gym-pybullet-drones which is based on pybullet