A napari plugin to analyse local orientation in images
Project description
napari-orientation
A napari plugin to analyse local orientation in images.
Installation
You can install the plugin from the napari GUI interface by going to Plugins/Install\Uninstall Plugins and selecting napari-orientation.
Alternatively, you can install the plugin from the napari conda environment via pip:
pip install napari-orientation
Usage
You can access all the functionalities of the plugin from the menu Plugins\Orientation Analysis.
All the analyses work only on single-channel 2D images and on single-channel 2D time series. In this last case the analysis can be restricted to single frames.
The only parameter available is the sigma smoothing, in pixels, which controls the strength of the gaussian filter applied to the gradient of the image before computing the orientation vector pixelwise.
Compute orientation metrics
This GUI gives access to most of the functionalities. You can compute several metrics and display them as images.
Display Colored Orientation
It computes an image where each pixel is colored differently according to the orientation angle estimated at that position.
Display Coherence
It computes an image where the value of each pixel represents the coherence estimated at that position.
Display Curvature
It computes an image where the value of each pixel represents the curvature estimated at that position.
Display Angle
It computes an image where the value of each pixel represents the angle, in degrees, estimated at that position.
Compute statistics
Estimate the average value for the following metrics: Energy, Coherence, Correlation length, Curvature. The curvature is the only metric in physical units, and therefore the determination of its values relies on the accuracy of the pixel size provided for the image.
Generate vector-coded images
It generates a vector layer displaying the orientation field estimated locally, over a grid with spacing defined by the user.
This is a separate widget because it currently only works on single frames.
Contributing
Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.
License
Distributed under the terms of the BSD-3 license, "napari-orientation" is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
Credits
This napari plugin was generated with copier using the napari-plugin-template (None).
This work was inspired by the plugin OrientationJ for ImageJ, that was partially converted by the same developers into a plugin for napari.
napari-orientation focuses on the computation of several metrics, some of them proposed in this article
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file napari_orientation-0.1.2.tar.gz.
File metadata
- Download URL: napari_orientation-0.1.2.tar.gz
- Upload date:
- Size: 12.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
579d9b2bbe22fc8167e15f06304193e21cd5f284a84dd131385acba5054063b5
|
|
| MD5 |
18c142d11a2754d7d13c4dc84a84db6e
|
|
| BLAKE2b-256 |
c5c315e63715276e248db735549bb2790716ea10e2603436fb54749b9fb65624
|
Provenance
The following attestation bundles were made for napari_orientation-0.1.2.tar.gz:
Publisher:
test_and_deploy.yml on giocard/napari-orientation
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
napari_orientation-0.1.2.tar.gz -
Subject digest:
579d9b2bbe22fc8167e15f06304193e21cd5f284a84dd131385acba5054063b5 - Sigstore transparency entry: 619080399
- Sigstore integration time:
-
Permalink:
giocard/napari-orientation@c6480a1f70b427b81bf43bb05a495ae800fc0d81 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/giocard
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test_and_deploy.yml@c6480a1f70b427b81bf43bb05a495ae800fc0d81 -
Trigger Event:
push
-
Statement type:
File details
Details for the file napari_orientation-0.1.2-py3-none-any.whl.
File metadata
- Download URL: napari_orientation-0.1.2-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f1ffdc6ac29309651596ca55bf4707058993fb1fe5bdab8dae069ab35dadb45
|
|
| MD5 |
737a8ac19213fe78e288a334f09f8a31
|
|
| BLAKE2b-256 |
f0785696ad1b5a6261c641a183b7cd6e295ce607ca037d598c49e289dbd0eb2e
|
Provenance
The following attestation bundles were made for napari_orientation-0.1.2-py3-none-any.whl:
Publisher:
test_and_deploy.yml on giocard/napari-orientation
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
napari_orientation-0.1.2-py3-none-any.whl -
Subject digest:
2f1ffdc6ac29309651596ca55bf4707058993fb1fe5bdab8dae069ab35dadb45 - Sigstore transparency entry: 619080413
- Sigstore integration time:
-
Permalink:
giocard/napari-orientation@c6480a1f70b427b81bf43bb05a495ae800fc0d81 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/giocard
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test_and_deploy.yml@c6480a1f70b427b81bf43bb05a495ae800fc0d81 -
Trigger Event:
push
-
Statement type: