Skip to main content

Point cloud geometric properties from python.

Project description

Jakteristics is a python package to compute point cloud geometric features.

A geometric feature is a description of the geometric shape around a point based on its neighborhood. For example, a point located on a wall will have a high planarity.

The features used in this package are described in the paper Contour detection in unstructured 3D point clouds. They are computed based on the eigenvalues and eigenvectors:

  • Eigenvalue sum

  • Omnivariance

  • Eigenentropy

  • Anisotropy

  • Planarity

  • Linearity

  • PCA1

  • PCA2

  • Surface Variation

  • Sphericity

  • Verticality

  • Nx, Ny, Nz (The normal vector)

It’s inspired from a similar tool in CloudCompare.

It’s implemented in cython using the BLAS and LAPACK scipy wrappers. It can use multiple cpus, and the performance is quite good (at least twice as fast as CloudCompare).

Installation

python -m pip install jakteristics

Usage

Refer to the documentation for more details.

From python

from jakteristics import compute_features

features = compute_features(xyz, search_radius=0.15)

CLI

Once the package is installed, you can use the jakteristics command:

jakteristics input/las/file.las output/file.las --search-radius 0.15 --num-threads 4

Run tests

python -m pip install -r requirements-dev.txt
python setup.py pytest

History

0.4.2 (2020-04-20)

  • fix extension import statement

0.4.1 (2020-04-17)

  • fix: create parent directories for output file

  • fix: rename –num_threads to –num-threads

  • fix: require laspy 1.7 for upper case names in extra dimensions

0.4.0 (2020-04-16)

  • first pypi release

  • add github actions

0.3.0 (2020-04-14)

  • add feature-names parameter to compute specific features

0.2.0 (2020-04-10)

  • fix windows compilation with openmp

  • add example cloudcompare script

  • add num_threads cli parameter and help documentation

  • write extra dimensions in the correct order

0.1.2 (2020-04-10)

  • Fix tests

0.1.1 (2020-04-10)

  • Fix bug where single precision was used for intermediate variables

0.1.0 (2020-04-10)

  • First release

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

jakteristics-0.4.2.tar.gz (504.3 kB view details)

Uploaded Source

Built Distributions

jakteristics-0.4.2-cp38-cp38-win_amd64.whl (664.3 kB view details)

Uploaded CPython 3.8 Windows x86-64

jakteristics-0.4.2-cp37-cp37m-win_amd64.whl (655.6 kB view details)

Uploaded CPython 3.7m Windows x86-64

jakteristics-0.4.2-cp36-cp36m-win_amd64.whl (655.5 kB view details)

Uploaded CPython 3.6m Windows x86-64

File details

Details for the file jakteristics-0.4.2.tar.gz.

File metadata

  • Download URL: jakteristics-0.4.2.tar.gz
  • Upload date:
  • Size: 504.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for jakteristics-0.4.2.tar.gz
Algorithm Hash digest
SHA256 8e47d94226823601ea559bd2b5b10aeb252a3d8e5fbec554163f8e8468e0ddfb
MD5 6c809cbf3fd24e5a0ad6575a04e8b52c
BLAKE2b-256 d4c24a004d51e3caac871c9a714d47740c1b184f7471fee8b7da6352322f4d14

See more details on using hashes here.

File details

Details for the file jakteristics-0.4.2-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: jakteristics-0.4.2-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 664.3 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for jakteristics-0.4.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 47ec8e26f6931bdcfdebce099ec4ed8946acfa9bb0237b51f0c6f54d7c1dd731
MD5 ae18a08dc5e9a904c029c0b68657e1d3
BLAKE2b-256 39523a5766b024ef06d52e580d035ecb2de174e477d9c7ff7aa2ee06e41b2751

See more details on using hashes here.

File details

Details for the file jakteristics-0.4.2-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: jakteristics-0.4.2-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 655.6 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6

File hashes

Hashes for jakteristics-0.4.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 775f1ad5d59f21b64dbdc529487af34f6660ea804f529db491648bec2ff2d643
MD5 1bf7122a755f431eff5ee725135e0ed5
BLAKE2b-256 e19ab9c4258b42a3710c2a209c10b156a63cba727ccd8bc3142a8b4b47b003c9

See more details on using hashes here.

File details

Details for the file jakteristics-0.4.2-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: jakteristics-0.4.2-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 655.5 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.8

File hashes

Hashes for jakteristics-0.4.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 4283b42b3228df2f1025f2a607b5d9f85647ce612c7bfb95020f51330aba113e
MD5 53a437d73fd35ea4fb0faf9bd2a3f417
BLAKE2b-256 a503465e14784430d7662bcae4a076250196adab3e3839430c8d8a980b8d6cf6

See more details on using hashes here.

Supported by

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