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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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