Lossless compressed file-format utilities for roadside LiDAR point-cloud CSV data.
Project description
RLPC LiDAR
RLPC/RLPCZ is a lossless compressed file-format utility for frame-wise roadside LiDAR point-cloud CSV data.
It is designed for LiDAR CSV files with columns such as:
X, Y, Z, Intensity, Laser_ID, Azimuth, Timestamp, Azimuth_Category, Frame_Number, Distance
Unlike common .bin formats that usually keep only X, Y, Z, Intensity, RLPCZ preserves all LiDAR columns needed for downstream perception, trajectory analysis, and static-scene processing.
Installation
pip install rlpc-lidar
Or install from source:
git clone https://github.com/rohit2809/rlpc-lidar.git cd rlpc-lidar pip install -e .
Python API
from rlpc import save_csv_to_rlpcz, load_xyzi, load_columns, read_metadata
save_csv_to_rlpcz(input_csv='000001.csv', output_file='000001.rlpcz', mode='fast')
xyzi = load_xyzi('000001.rlpcz', dtype='float32')
cols = load_columns('000001.rlpcz', columns=['X', 'Y', 'Z', 'Laser_ID', 'Azimuth_Category', 'Distance'], dtype='float64')
meta = read_metadata('000001.rlpcz') print(meta['num_points'])
Lossless definition
RLPCZ is numerically lossless with respect to the CSV values and preserves rows, columns, and column order.
It does not aim to preserve byte-for-byte CSV text formatting such as trailing zeros.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rlpc_lidar-0.1.0.tar.gz.
File metadata
- Download URL: rlpc_lidar-0.1.0.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e11a40469d8debfbe4a747fb63af57eb404d2a4309f4406cea0d839018b5db5d
|
|
| MD5 |
76b266922eb65cb173ebc6fdb185daba
|
|
| BLAKE2b-256 |
4ac74d9e64c7de5177dfb34046ef9c0754397203ca6758893a3d189cc42d1302
|
File details
Details for the file rlpc_lidar-0.1.0-py3-none-any.whl.
File metadata
- Download URL: rlpc_lidar-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c648ad9230eb465414e37950fcfaf6ceb3b934efa393cf6dced64e39caee6315
|
|
| MD5 |
6fa6b523b714fcee79c5d76ddd41bf44
|
|
| BLAKE2b-256 |
c8a3129b137d231d6a65220700827861df4c9bba5afd001ed04b28630526e591
|