Detecting sub-pixel changes in the coastal vegetation line with Sentinel-2 imagery
This repository contains the code required to reproduce the results in the conference paper:
[coming soon]
This code is only for academic and research purposes. Please cite the above paper if you intend to use whole/part of the code.
We have used the following dataset in our analysis:
- The Sentinel-2 Irish Vegetation Edge (SIVE) Dataset here.
The data is available under the Creative Commons Attribution 4.0 International license.
demo.ipynbdemonstration of the best SimpleCNN model.
You can find the following files in the src folder:
0_process_rasters.ipynbStack Sentinel-2 scenes, Guidance band and vegetation lines so they can be used to create a modelling dataset.0_process_rasters_erosion.ipynbProcess Sentinel-2 scenes so they can be used to calculate erosion rates.1_create_model_dataset.ipynbCreate training and test data for edge detection machine learning models.2_model_evaluation.ipynbProduce metrics and visualisations for the performance of all edge detection models.3_calculate_average_lines.ipynbCalculate the average detected vegetation line (AVDLs) and format results for DSAS.4_compare_erosion_rates.ipynbVisualise and summarise the erosion rates and distance calculations from DSAS.5_figures_for_paper.ipynbAdditional figures for research paperutils.pyHelper functions used to perform the analysis.evaluation.pyHelp functions used to evaluate the edge detection models.network_hed.pyHolistic nested edge detection architecture and backbones.train.pyTraining loop and hyperparameter testing.