Skip to main content

napari-indices

License BSD-3 PyPI Python Version tests codecov napari hub

Calculer les indices de végétation


This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.

Emmanuella OKAFOR (L3 PA CMI-PSI_Université d'Angers) developed this plugin during her internship with a french team called ImHorPHen (lead by David ROUSSEAU). This plugin realises vegetation indexes computation with hyperspectral images. For the momment, there are five vegetation indexes : NDVI, TCARI, NPCI, SGI, NDGI.

Installation

You can install napari-indices via pip:

pip install napari-indices

To install latest development version :

pip install git+https://github.com/Emmanulla0/napari-indices.git

Plugin description

Using this plugin requires importing the bands of a hyperspectral image into a tif file, in our case, 160 bands. You must launch it by accessing the Plugins > napari-indices> Vegetation indices menu.

Capture d'écran 2023-05-29 124720

Then select the vegetation index to be calculated and the different bands to be used, then click the Run button to start the calculation. This results in the images corresponding to the calculated indices.

etape_2

The areas of interest to be analysed must then be defined. To do this, click the Shapes button on the Napari interface and choose the add rectangle shape from the menu that appears. Using the mouse, it is then possible to draw a rectangle on each of the two areas to be analyzed, for example a tree sheet and a green sheet of paper.

etape_3

To perform the Fisher ratio calculation and display the histogram, it is necessary to go back to the Plugins > napari-indices > ExempleQWidget menu and click the **Click me! **. This action opens a new window displaying the best vegetation index to use, its corresponding Fisher ratio and the histogram of the two selected regions on the image of the vegetation index concerned. A video explaining the plugin is available at: https://uabox.univ-angers.fr/index.php/s/LqB0qs11n3jxZVJ.

Histogram

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-indices" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

Metadata

Release files for napari-indices 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for napari-indices 0.0.2
File Size Uploaded Provenance Actions
napari-indices-0.0.2.tar.gz 13.9 kB Without provenance Details for napari-indices-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for napari-indices 0.0.2
File Interpreter ABI Platform Actions
napari_indices-0.0.2-py3-none-any.whl Python 3 none any Details for napari_indices-0.0.2-py3-none-any.whl

Total release size: 27.6 kB

Release files / napari-indices-0.0.2.tar.gz

Download URL napari-indices-0.0.2.tar.gz
Size 13.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6bec2a6389b97036318b1a43803e552081913f3062f29453ae518370dde0d557
BLAKE2b-256 checksum
How to use checksums
4dec220e18e12bd46e5c51ff2125f34dc2396e4f9fff0d86b9def3c77ed7bb4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / napari_indices-0.0.2-py3-none-any.whl

Download URL napari_indices-0.0.2-py3-none-any.whl
Size 13.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
adeda8f82ec3c4dba6301bae8847317b46bad12337b48737e0472fdcc8ee0c10
BLAKE2b-256 checksum
How to use checksums
27ede23f41211aeba11578fa53f8fc6433a3c4f0f16246b8e80bdd1c08316638
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Security for napari-indices 0.0.2

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page