OrientationPy - greylevel orientation computation for 2D and 3D images
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:
Other noteworthy python projects
Other orientation or structure tensor software that we’re aware of in python:
skimage.feature.structure_tensor: Sobel filter for gradient
structure-tensor: Only using finite differences for gradient
pynamix.measure.orientation_map: FFT-based approach
PyTextureAnalysis: 2D orientation package with overlay rendering
Acknowledgements
The initial prototype was coded by Alexandru Vasile during a 6-week visit to the EPFL Center for Imaging, supported by Mariana Verezhak from PSI
We used some of this data for testing: https://zenodo.org/record/5483719#.Yyra4vFBy2A
We initialised this repository from a cookie-cutter: https://github.com/Nekroze/cookiecutter-pypackage
History
0.3.0.0 (2023-08-07) Closed form solution for eigenvalue decomposition
0.2.0.4 (2023-01-20) Anisotropy of voxel sizes implemented
0.2.0.3 (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)
Metadata
Release files for orientationpy 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| orientationpy-0.3.1.tar.gz | 24.0 MB | Without provenance | Details for orientationpy-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| orientationpy-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for orientationpy-0.3.1-py3-none-any.whl |
Total release size: 24.1 MB
Release files / orientationpy-0.3.1.tar.gz
| Download URL | orientationpy-0.3.1.tar.gz |
|---|---|
| Size | 24.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87db6f2604e4efb6f1cab8071612e7945e5997eac59712b996186410d1109bf6
|
|
BLAKE2b-256 checksum How to use checksums |
c8c907933e73bf3353815319b94be13302ad77abb23d93f57337a5b0e2b7f556
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.23
|
Release files / orientationpy-0.3.1-py3-none-any.whl
| Download URL | orientationpy-0.3.1-py3-none-any.whl |
|---|---|
| Size | 40.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2f3378a799cbbfe5aec0f2f06a7672ded57ccdbf40b1b379ae9a4537ca9d1f0b
|
|
BLAKE2b-256 checksum How to use checksums |
1adf27c7d87ff883e86970ba545ee620209ab505ea1f578076b8d8133cf4d416
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.23
|
Security for orientationpy 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.