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.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.1.tar.gz (504.3 kB view details)

Uploaded Source

Built Distributions

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

Uploaded CPython 3.8 Windows x86-64

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

Uploaded CPython 3.7m Windows x86-64

jakteristics-0.4.1-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.1.tar.gz.

File metadata

  • Download URL: jakteristics-0.4.1.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.1.tar.gz
Algorithm Hash digest
SHA256 7c8a9e4a9f8807c243af8abb9f418f676207a0002350d9855d5c4db4fc1b8e28
MD5 dd6e5c42e8db7c32d2492df483fc2a8e
BLAKE2b-256 abdb8fd61f48d2f62c73a365485c0814ff8004e1c6def9e26036a43bcceb8be4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jakteristics-0.4.1-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.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 3ffd835fb31bb2bf46a7c63e166733b5aa3564a698cba1317c1803ef06fb6636
MD5 3df53255948162303cfc3cea3c2900d8
BLAKE2b-256 154f9b42c9c410869ce54efcdaa4fd8b314d13b326de2d56c187b8e966e933fe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jakteristics-0.4.1-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.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 8d05a0d43f5b53ad45f8c56821b0117726c675434ed03b945ddd9a80fd0b008d
MD5 147ab02a1e06d4bf10131ffe287a078e
BLAKE2b-256 4069d8e21c71fb38c7ec6138df256a468664c97a400d660bf8d4b23e1a8b4cb8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jakteristics-0.4.1-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.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 df03336f1943d2fb4e816da625a244c7579a40e8f9f7dc8acb4684a6de8ad663
MD5 adbe4fa36139a0bcc59bb1154bbf4b06
BLAKE2b-256 8522931f26f5af462287d2b1b55c152408ccafc46f6a58b1461dde1b308396ad

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