Skip to main content

Python bindings to Esri's Limited-Error Point Cloud Compression library.

Project description

pylepcc

Minimal Python bindings to Esri's Limited-Error Point Cloud Compression (LEPCC) Library.

Installation

Using pip:

pip install pylepcc

Usage

Compress some positions:

compressed, order = pylepcc.compress_xyz(positions)

Note that LEPCC may reorder points during compression. The permutation is described in the returned order array. Let's compress some corresponding colors:

compressed = pylepcc.compress_rgb(colors[np.argsort(order)])

In order to preserve the mapping of positions to colors, the colors must be sorted according to the reordering done during position compression.

Development

Hacking on pylepcc is as easy as installing in editable mode:

pip install -e .

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

pylepcc-0.1.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (148.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

pylepcc-0.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (144.3 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file pylepcc-0.1.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pylepcc-0.1.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 28eddf7b22361bc336a6d24bfd6faab0cb584ed8f7f8a6305388d7bfe77b6143
MD5 09667a4ffa0d0bee88eeeaf06206307d
BLAKE2b-256 cf3364270cdda74d7b3fc768a720524184db6f12f83698b899f1d7c1e6fa0d22

See more details on using hashes here.

File details

Details for the file pylepcc-0.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pylepcc-0.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4854e83d98c15f66ba1bdab767852c2e9cb8ac2111adcedbc917004d52ae421c
MD5 825a32acb7de215ff091adfaf9d2d9b0
BLAKE2b-256 436a3f0845c53af54198436b82eee84b7ad5d173a40585cc062d12e2ef834d50

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