All Projects → leofansq → Tools_Merge_Image_PointCloud

leofansq / Tools_Merge_Image_PointCloud

Licence: MIT license
Project the PointCloud to the image & Generate the LiDAR PointCloud with color.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Tools Merge Image PointCloud

continuous-fusion
(ROS) Sensor fusion algorithm for camera+lidar.
Stars: ✭ 26 (-33.33%)
Mutual labels:  pointcloud, kitti
SpinNet
[CVPR 2021] SpinNet: Learning a General Surface Descriptor for 3D Point Cloud Registration
Stars: ✭ 181 (+364.1%)
Mutual labels:  pointcloud, kitti
lopocs
Migrated to: https://gitlab.com/Oslandia/lopocs
Stars: ✭ 78 (+100%)
Mutual labels:  pointcloud
PointPainting
This repository is an open-source PointPainting package which is easy to understand, deploy and run!
Stars: ✭ 152 (+289.74%)
Mutual labels:  pointcloud
From-Voxel-to-Point
"From Voxel to Point: IoU-guided 3D Object Detection for Point Cloud with Voxel-to-Point Decoder" and "Anchor-free 3D Single Stage Detector with Mask-Guided Attention for Point Cloud" in ACM MM 2021.
Stars: ✭ 29 (-25.64%)
Mutual labels:  pointcloud
git-rebase-via-merge
Fix rebase conflicts with minimum pain.
Stars: ✭ 41 (+5.13%)
Mutual labels:  merge
ECCV-2020-point-cloud-analysis
ECCV 2020 papers focusing on point cloud analysis
Stars: ✭ 22 (-43.59%)
Mutual labels:  pointcloud
lt-mapper
A Modular Framework for LiDAR-based Lifelong Mapping
Stars: ✭ 301 (+671.79%)
Mutual labels:  pointcloud
cft
Climate futures toolbox: easy MACA (MACAv2) climate data access 📦
Stars: ✭ 16 (-58.97%)
Mutual labels:  projection
deepmerge-ts
Deeply merge 2 or more objects respecting type information.
Stars: ✭ 102 (+161.54%)
Mutual labels:  merge
imvoxelnet
[WACV2022] ImVoxelNet: Image to Voxels Projection for Monocular and Multi-View General-Purpose 3D Object Detection
Stars: ✭ 179 (+358.97%)
Mutual labels:  kitti
mapshaper-proj
A JavaScript port of the Proj.4 map projection library.
Stars: ✭ 29 (-25.64%)
Mutual labels:  projection
TreeWalker
PHP JSON diff
Stars: ✭ 58 (+48.72%)
Mutual labels:  merge
git-picked
List merged and cherry-picked branches
Stars: ✭ 30 (-23.08%)
Mutual labels:  merge
srtmerger
subtitle merger is a tool for merging two or more subtitles for videos.
Stars: ✭ 35 (-10.26%)
Mutual labels:  merge
stylegan2-landmark-projection
Experimental repository attempting to project facial landmarks into the StyleGAN2 latent space.
Stars: ✭ 14 (-64.1%)
Mutual labels:  projection
defaults-deep
Like `extend` but recursively copies only the missing properties/values to the target object.
Stars: ✭ 26 (-33.33%)
Mutual labels:  merge
adaptive-surface-reconstruction
Adaptive Surface Reconstruction for 3D Data Processing
Stars: ✭ 39 (+0%)
Mutual labels:  pointcloud
DPVideoMerger
Multiple videos merge in one video with manage scale & aspect ratio and also merge 4 videos to grid layou for Objective C.
Stars: ✭ 12 (-69.23%)
Mutual labels:  merge
mergedeep
A deep merge function for 🐍.
Stars: ✭ 73 (+87.18%)
Mutual labels:  merge

About

This code is to porject the LiDAR point cloud to the image & generate the point cloud with color

Input

  • Images (.png files)
  • Point cloud files (.bin files)
  • Calib files Support two kinds of calib files' type.
    • All parameters stored in one file. e.g. KITTI

      • R_rect: shape 3*3
      • P_rect: shape 3*4
      • Tr: shape 3*4
    • The parameters are stored in two files. One is for the camera, the other is for LiDAR2Cam. e.g. KITTI raw

      • R_rect: shape 3*3
      • P_rect: shape 3*4
      • R: shape 3*3
      • T: shape 3*1

Steps

  • Put all the images into img, and put all the point cloud files into lidar(Notice: The filename of the image and the corresponding point cloud file should be the same.). Put the calib file into calib

  • Set the parameters in main.py.

    • CALIB_TYPE: 0:All parameters in one file; 1:Parameters are stored in two files

      If CALIB_TYPE == 0:

      • CALIB: Path of the calib file

      If CALIB_TYPE == 1:

      • CAM2CAM: Path of the calib file for camera
      • LIDAR2CAM: Path of the calib file for LiDAR2Cam
    • IMG_PATH: The path of images

    • LIDAR_PATH: The path of point cloud files

    • SIMG_PATH: The path to stored the result images

    • SPC_PATH: The path to stored the result point cloud with color

    • SBEV_PATH: The path to stored the result BEV

    • SFV_PATH: The path to stored the result FV

    • CAM_ID: The NO. of the camera.

      For the multi-camera sensor system like KITTI, you need to set it to the ID of the camera. For the system which only has one camera, it is set to be 0.

  • Run main.py to get the result.

    python main.py

Visualization

Image

The result image is saved in the path you set

Point cloud with color

  • Go to the path you set to save the result .pcd files
  • Use Open3d 0.7.0.0 to show the point cloud
    python pcd_vis.py

BEV & FV

The BEV & FV is saved in the path you set

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].