Skip to content

kcyoon689/Lidar-pointcloud-visulaization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lidar .bin dataset Visualization

This Python script visualizes LiDAR point cloud data stored in binary (.bin) format. It provides both 3D and 2D projections for better analysis.

Features

  • 3D Visualization: Displays LiDAR point cloud in a 3D scatter plot.

  • 2D Projections:

    • Top-down view (XY plane)

    • Side view from X-axis (XZ plane)

    • Front view from Y-axis (YZ plane)

  • Color mapping based on Z-values or intensity (if available).

Requisites

$ pip install -r requirements.txt

Usage

Run the script with the .bin file and specify the desired visualization type:

$ python3 script.py {bin_file} {axis}

Arguments:

  • {bin_file}: Path to the binary LiDAR point cloud file.

  • {axis}: Choose visualization type:

    • 3d → 3D visualization

      • xy → Top-down view

      • xz → Side view from X-axis

      • yz → Front view from Y-axis

Example Commands:

$ python3 script.py samles/000002.bin 3d  # 3D visualization
$ python3 script.py samles/000002.bin xy  # Top-down view
$ python3 script.py samles/000002.bin xz  # Side view
$ python3 script.py samles/000002.bin yz  # Front view

alt text alt text alt text alt text

Notes

The script assumes the binary file contains float values in the order: x, y, z, intensity.

If intensity is not available, Z-values are used for coloring.

Ensure the .bin file follows the correct format before visualization.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors