https://github.com/bagnasconicolo/pyndvi-hd
Software for NDVI computing on single images, via python.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.3%) to scientific vocabulary
Repository
Software for NDVI computing on single images, via python.
Basic Info
- Host: GitHub
- Owner: bagnasconicolo
- Language: Python
- Default Branch: main
- Size: 10.4 MB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
PyNDVI-HD
This repository contains two Tkinter-based graphical applications for computing and visualising the Normalised Difference Vegetation Index (NDVI) from RGB or modified cameras.
Directory layout
scripts/ndvi_gui.py– basic NDVI viewer with export capabilities.scripts/pyndvi_hd.py– extended "HD" viewer with additional smoothing, sharpness, and export scaling options.examples/– a collection of sample images used for testing the GUIs.
Requirements
- Python 3.9 or later
- Pillow, NumPy, Matplotlib
- Tkinter (usually installed with Python, but may require
python3-tkon Linux)
Install the Python dependencies with:
bash
pip install pillow matplotlib numpy
Running the applications
Basic NDVI viewer
bash
python scripts/ndvi_gui.py
Features:
- Load JPG/PNG/TIF images (16-bit and 8-bit supported).
- Choose which channel represents NIR and which represents Red.
- Adjust NDVI display range interactively.
- Switch between any Matplotlib colormap.
- Save the colour-mapped NDVI image at original resolution.
- Histogram panel and clipboard copy.
PyNDVI HD viewer
bash
python scripts/pyndvi_hd.py
In addition to all features of the basic viewer, the HD version provides:
- Gaussian smoothing of the NDVI array.
- Adjustable sharpness after applying the colormap.
- Export scaling from 0.1× to 2.0× the original resolution.
Sample images
The examples/ directory includes a few small photos (JPG) and pre-computed NDVI renders (PNG). They are solely for demonstration/testing and carry no particular meaning.
License
The code in this repository is released under the MIT License.
Owner
- Name: Nicolò Bagnasco
- Login: bagnasconicolo
- Kind: user
- Twitter: nbagnasco
- Repositories: 1
- Profile: https://github.com/bagnasconicolo
GitHub Events
Total
- Delete event: 1
- Push event: 1
- Pull request event: 1
- Create event: 3
Last Year
- Delete event: 1
- Push event: 1
- Pull request event: 1
- Create event: 3