https://github.com/aalling93/electro-optical-sentinel-2-images
Sentinel-2 images are Multi-Spectral satellite images (Electro-optical). Here, utility functions and various index analyses are implemented.
https://github.com/aalling93/electro-optical-sentinel-2-images
Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 2 committers (50.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.6%) to scientific vocabulary
Keywords
Repository
Sentinel-2 images are Multi-Spectral satellite images (Electro-optical). Here, utility functions and various index analyses are implemented.
Basic Info
Statistics
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
Sentinel-2 toolbox
Work with sentinel-2 images easily. If you know how to download Sentinel-2 Multi-Spectral-Images (or Electro-Optical), but you don't know how to work with them in Python, I have it all implemented here for you.
Content
- Functions
- Illustration of functions
- Demonstration on usage
Functions:
- load_bands()
- contours()
- contour2poly()
- ndvi_index()
- rvi_index()
- savi_index()
- evi_index()
- rgb_img()
Demonstration on usage:
images = load_bands('F:\\S2_billeder\\..\\IMG_DATA',bands=['B03','B04','B05','B01'])
This function will load the bands of your chosing into python. You could load them all, but it is recommended to only load the bands that are needed for later analyses, as they take a lot of memory (i.e. calcuating a simple NDVI index.)
contours, contours_types = contours(ndvi_image,mode='ndvi',method='skimage')
This function finds contours in a false colours image. This is useful when working with e.g. Index values(NDVI etc.).
poly = contour2poly(contours,tolerance=2)
This function creates geo-references polygons. Often, when working with e.g. satellite images, the results must be displyed in a GIS software, e.g. QGIS. The results from an analysis must consequently be turned into polygons that can be exported into e.g. .shape files.
Thus, calculate an index product, and thereafter find the contours for different resut, and lastly find the polygons. This can then be used in QGIS.
INDEX PRODUCTS
Index products are simple products calculated using band-operations.
ndvi_index = ndvi(B04, B08)
Normalized difference vegetation index (NDVI) from Sentinel-2 images. A simple index displaying how "healty" the vegetation is by indirectly measuring the amount of chlorophyll. This is done by using the load_bands() function to return band 04 and 08, and thereafter using the ndvi function.
Getting started
Download or clone.
Installing
- ...
Authors
Kristian Aalling Sørensen
Owner
- Name: Kristian Aalling Sørensen
- Login: aalling93
- Kind: user
- Location: Copenhagen
- Website: https://www.linkedin.com/in/ksoerensen/
- Repositories: 4
- Profile: https://github.com/aalling93
PhD. MSc. MEng. Specialization in Earth Observation.
GitHub Events
Total
Last Year
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Kristian Aalling Sørensen | s****3@s****k | 6 |
| Kristian Aalling Sørensen | k****n@h****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: over 2 years ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0