Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rlpc_lidar-0.1.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rlpc_lidar-0.1.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

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

Hashes for rlpc_lidar-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e11a40469d8debfbe4a747fb63af57eb404d2a4309f4406cea0d839018b5db5d
MD5 76b266922eb65cb173ebc6fdb185daba
BLAKE2b-256 4ac74d9e64c7de5177dfb34046ef9c0754397203ca6758893a3d189cc42d1302

See more details on using hashes here.

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

Hashes for rlpc_lidar-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c648ad9230eb465414e37950fcfaf6ceb3b934efa393cf6dced64e39caee6315
MD5 6fa6b523b714fcee79c5d76ddd41bf44
BLAKE2b-256 c8a3129b137d231d6a65220700827861df4c9bba5afd001ed04b28630526e591

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page