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.3 (2020-09-24)

  • the default value when features can’t be computed should be NaN

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

Uploaded Source

Built Distributions

jakteristics-0.4.3-cp38-cp38-win_amd64.whl (633.4 kB view details)

Uploaded CPython 3.8 Windows x86-64

jakteristics-0.4.3-cp37-cp37m-win_amd64.whl (624.9 kB view details)

Uploaded CPython 3.7m Windows x86-64

jakteristics-0.4.3-cp36-cp36m-win_amd64.whl (624.7 kB view details)

Uploaded CPython 3.6m Windows x86-64

File details

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

File metadata

  • Download URL: jakteristics-0.4.3.tar.gz
  • Upload date:
  • Size: 492.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for jakteristics-0.4.3.tar.gz
Algorithm Hash digest
SHA256 3b38c5a04445c9ca03748abd41ddadba34fb7d1fdd2a187175128544fdabbfa8
MD5 cf7ecd8389806bcde7bd9e5b2b9ffbfd
BLAKE2b-256 c5f5c3280dfe4547802a3f78319ef11fcf3ff3f77fc09495b18523d853ff6899

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jakteristics-0.4.3-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 633.4 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for jakteristics-0.4.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 a22dc074997249150d651aed2169d1db4a3b0cce605617aadb5418053050c5cd
MD5 4a3910b22d269030b19575d0f6d687c8
BLAKE2b-256 61a2ba90eb87fba8ab6e8173d4c2c984213fc04875904233ead6ef1237ee5ef4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jakteristics-0.4.3-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 624.9 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.8

File hashes

Hashes for jakteristics-0.4.3-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 6c51b353cc54e1b13ce15845c51509eb3dcfdc5ed8cc25b1d89202885c45fd7c
MD5 875ead0f222475a9599ad20a80bb735a
BLAKE2b-256 7c614e993741d7abf7ac1583cf4e88d704d10c0bb227d88a8d8f5dcb208248a8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for jakteristics-0.4.3-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 87bfb84fa2dade687f3befe47f50f94b0db80afb3a819f91a5f8c6a343d7c2b4
MD5 f70a8ef26b59af9800b70045bd5e6607
BLAKE2b-256 427a2f4bba396c8ef53c2e68cd56c37387f5db210b2eb031b3848b9a9a04f373

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