This implementation uses Google Earth Engine Python API to process Sentinel-1 SAR and Sentinel-2 optical timeseries for tropical dry forest disturbance mapping. It also uses Tensorflow to build a siamese transformer architecture to implicitly learn the seasonality in the two series to make a forest and non-forest inference.

Overview

Sentinel-1 SAR and Sentinel-2 optical timeseries based Transformer architecture for tropical dry forest disturbance mapping.

Introduction

This repository prototypes the fusion of Sentinel-1 SAR and Sentinel-2 optical data time-series for mapping tropical dry-forest disturbance. Since seasonality is the main challenge to map tropical dry-forests, we learn the seasonality pattern in the data implicitly using transformers. The implementation uses Google Earth Engine (GEE) to prepare Sentinel-1 and Sentinel-2 time series data and Tensorflow for deep learning.

Architecture

The architecture used in this implementation is a siamese arechitecture with transformers used on each branch separately. It requires the data to be prepared as tables of time series values for different spatial locations. The reference data should be prepared as sparse point feature collection as a GEE asset.

mhsa_lps2022_1

Usage

To train a model, the user needs to provide an area of interest in GEE geometry format and run the prepare_data.ipynb first to prepare the training datasets. It is assumed the user has access to a Google Cloud Storage bucket. Time series smoothing using a moving median filter is implemented to smoothen both Sentinel-1 and Sentinel-2 time series. The user can select the smoothing interval in the params dictionary.

The script is provided in a jupyter notebook format. This should make it easier for users to run the code in Google colab without worrying about software dependencies.

transformer_bolivia (Test area in Bolivia center lat:-18.37, lon:-62.29)

Dependencies

The scripts are written in Tensorflow 2.8 so there may be issues with earlier versions of Tensorflow.

Acknowledgment

Some helper functions were adopted from Google Earth Engine example workflow page.

You might also like...

The pytorch implementation for "Forest-CD: Forest Change Detection Network Based on VHR Images"

The pytorch implementation for

The pytorch implementation for "Forest-CD: Forest Change Detection Network Based on VHR Images". The paper is published on IEEE Geoscience and Remote Sensing Letters.

Dec 20, 2022

A TensorFlow 2.0 implementation of the Swin Transformer architecture.

A TensorFlow 2.0 implementation of the Swin Transformer architecture.

Swin Transformer Description This is a TensorFlow 2.0 implementation of the Swin Transformer architecture. It is built using the Keras API following b

Jul 5, 2022

✨🗺️ Snazzy basemaps in the Earth Engine code editor

✨🗺️ Snazzy basemaps in the Earth Engine code editor

Snazzy Snazzy Maps styles in the Google Earth Engine code editor. Description 🗺️ Customize your Earth Engine basemap in any script or App ✨ Add any s

Oct 16, 2022

Visualize device's external IP address connections in near-real time with Python, netstat, Whois, and Google Earth.

Visualize device's external IP address connections in near-real time with Python, netstat, Whois, and Google Earth.

Getting Started Everything here is written from the perspective of a Windows user. Steps and commands will be slightly different for other environment

May 10, 2022

HW Architecture-Mapping Design Space Exploration Framework for Deep Learning Accelerators

ZigZag-v2 This repository presents the novel version of our tried-and-tested HW Architecture-Mapping Design Space Exploration (DSE) Framework for Deep

Dec 15, 2022

This project is done using Tesseract OCR in python. Tesseract is an optical character recognition (OCR) engine for various operating systems. Using this project one can do various text recognition operations

Text-Recognition-OCR This project is done using Tesseract OCR in python. Tesseract is an optical character recognition (OCR) engine for various operat

Jul 5, 2022

You can create sound from image files now. Imagine displaying an image from the forest with the actual forest sound in the background–Just adds to the drama. For this to run, have an image file and sound file (in .mp3 format) ready.

You can create sound from image files now. Imagine displaying an image from the forest with the actual forest sound in the background–Just adds to the drama. For this to run, have an image file and sound file (in .mp3 format) ready.

image-to-sound-python- Intro This repo will help you get started on how you can get started with Optical character recognition (OCR) and speech synthe

Dec 15, 2022

Implementation of "compositional attention" from MILA, a multi-head attention variant that is reframed as a two-step attention process with disentangled search and retrieval head aggregation, in Pytorch

Implementation of

Compositional Attention - Pytorch Implementation of Compositional Attention from MILA. They reframe the "heads" of multi-head attention as "searches",

Nov 28, 2022

Build API with ASGI in AWS Lambda with API Gateway HTTP API or REST API, or with Function URL ✨

asgi-aws Build API with ASGI in AWS Lambda with API Gateway HTTP API or REST API, or with Function URL ✨ Installation pip install asgi_aws Example Cre

Sep 23, 2022
Owner
Adugna Mullissa
Dr. Adugna Mullissa is a Radar remote sensing and machine learning scientist at Wageningen University and Research in the Netherlands.
Adugna Mullissa
RedisTimeseriesManager is a redis timeseries management system that enhance redis timeseries with features including multi-line data, built-in timeframes, data classifiers and convenient data accessors.

RedisTimeseriesManager RedisTimeseriesManager is a redis timeseries management system that enhance redis timeseries with features including multi-line

Ahmad Azizi 3 Dec 17, 2022
A Python and R blend for processing Sentinel-1 images, getting SAR-based vegetation indices, and sampling raster

This repository contains a pipeline blending Python and R features, first to: download, preprocess, and compute Sentinel-1 SAR vegetation indices (all in Python); following for image sampling in R.

Erli Pinto dos Santos 17 Nov 13, 2022
Ship detection in Sentinel 1 Synthetic Aperture Radar (SAR) imagery

SARfish Ship detection in Sentinel 1 Synthetic Aperture Radar (SAR) imagery Description Note: This program is very much a work in progress, and its ou

Michael Cruickshank 104 Dec 4, 2022
A deep translation (GAN) based change detection network for optical and SAR remote sensing images

DTCDN Title: A deep translation (GAN) based change detection network for optical and SAR remote sensing images [paper] X. Li, Z. Du, Y. Huang, and Z.

Xinghua Li 12 Nov 14, 2022
Download Anime for free without disturbance from your command line!!!

Project Title This project is for Japanese Anime lovers to easily download Animes without interuption e.g ads Installation Clone my project from the r

null 4 Nov 19, 2022
This is the python code used for a study on drought monitoring with the use of Google Earth Engine big data

This is the python code used for a study on drought monitoring with the use of Google Earth Engine big data. This study is created in the context of my postgrad.

Nikos Fotiou 4 Nov 7, 2022
Ahmed Hossam 12 Oct 17, 2022
Help the computer users protect their eyes from eyestrain, dry eyes, and myopia.

Eye-Protectors Feature ⇾ ⇾ 完整中文介紹請點這邊 ⇽ ⇽ How to install Windows : download the Eye protector.exe file here and execute it. Since the program is built

HAO TUNG YANG 23 Nov 16, 2022
Analysis: [The Cryptic Impacts of Invasion: Functional Homogenization of Tropical Ant Communities by Invasive Fire Ants]

Analysis: [The Cryptic Impacts of Invasion: Functional Homogenization of Tropical Ant Communities by Invasive Fire Ants] Hello everyone! The goal of t

null 1 Mar 28, 2022