-c/--color
required, str, Input RGB color image
-d/--depth
required, str, Input depth map
-i/--intrinsic
optional, str, Camera intrinsic parameters (column-major order, 9x1 shape)
-nv/--no_view
, optional, Disable point cloud visualization
-o/--output
optional, str, Output point cloud file path
pip install -r requirements.txt
python rgbd2pcd.py -c /path/to/file/rgb_image -d /path/to/file/depth_image -i "[fx, 0, 0, 0, fy, 0, cx, cy, 1]"
Where fx
, fy
represent the focal length, cx
, cy
represent the principal point.