Skip to main content

Package for greyscale orientation analysis on 2D and 3D images

Project description

https://badge.fury.io/py/orientationpy.png https://gitlab.com/epfl-center-for-imaging/orientationpy/badges/main/pipeline.svg https://gitlab.com/epfl-center-for-imaging/orientationpy/badges/main/coverage.svg

OrientationPy is the pythonic successor to the well-loved OrientationJ Fiji Plugin (github) from the BIG (Biomedical Imaging Group) in EPFL. It is a library that takes in 2D images or 3D volumes and computes the orientation of the greylevels. A key step is the computation of image gradients, for which we offer a number of different techniques.

Please visit the OrientationPy online docs.

Highlights

Please see the Example Gallery for some small examples of the use of the code, allowing the computation of orientations maps like this:

https://epfl-center-for-imaging.gitlab.io/orientationpy/_images/sphx_glr_plot_fibres_2d_005.png

Other noteworthy python projects

Other greylevel-measuring software that we’re aware of in python:

Todo

  • [X] 3D tests

  • [X] 3D coherency and energy

  • [X] integrate gradients and structure tensor into gradientStructureTensor

  • [X] Change 3D orientation system to z-top

  • [X] compare (and check compatibility) to skimage structure tensor

  • [X] write anglesToVectors()

  • [X] numba speedup?

  • [X] dict output to computeOrientations

  • [X] Write sphinx home page

  • [x] spam plots

  • [_] in Boxed functions, return box centres? AND/OR accept centres and sizes?

  • [_] factor for non-isotropic voxels

  • [_] asserts for input sanity (i.e., gradient shapes all the same)

  • [_] VTK out

  • [_] scripts with tiff in?

  • [_] rose plot

  • [_] rename plotOrientations → ZalignedStereoPlot?

  • [_] investigate smoothed ‘pole plots’

  • [_] in plotting.py create an image synthesizer?

  • [_] mask greylevels

  • [_] dask

Acknowledgements

History

  • 0.2.0.2 (2023-01-13) Moved code to /src/orientationpy so it gets packaged?

  • 0.2.0.2 (2023-01-13) Moved code to /src so it gets packaged?

  • 0.2.0.1 (2023-01-13) Moved to pyproject.toml

  • 0.2.0.0 (2023-01-13) First version on pip (non-working due to requirements.txt)

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

orientationpy-0.2.0.3.tar.gz (62.1 kB view details)

Uploaded Source

Built Distribution

orientationpy-0.2.0.3-py3-none-any.whl (49.1 kB view details)

Uploaded Python 3

File details

Details for the file orientationpy-0.2.0.3.tar.gz.

File metadata

  • Download URL: orientationpy-0.2.0.3.tar.gz
  • Upload date:
  • Size: 62.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for orientationpy-0.2.0.3.tar.gz
Algorithm Hash digest
SHA256 cc932900c3d13f8e947ef566db67aa1a30507d101fb75416272eb22a297d065d
MD5 ce58a796a11330b03e9a96b159b5e110
BLAKE2b-256 7ead5717ee5a9b4746502f166b0fc353f270a753e34002b3fc105677d45671b7

See more details on using hashes here.

File details

Details for the file orientationpy-0.2.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for orientationpy-0.2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6ae7b13a690f1b69c5e538635d30fc8b3f23caa1ed6bfc06330b694ef6c7168d
MD5 115cb30a057d28b876bb0c2f5fd2b772
BLAKE2b-256 dd012cea3b5c8590b9a80cbc5f7c47b21dd694c19dcac3d8267986a15d65a358

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