Skip to main content

Calculer les indices de végétation

Project description

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.

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

napari-indices-0.0.2.tar.gz (13.9 kB view hashes)

Uploaded Source

Built Distribution

napari_indices-0.0.2-py3-none-any.whl (13.7 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