Giter VIP home page Giter VIP logo

dl-l8s2-uv's Introduction

Benchmarking Deep Learning models for Cloud Detection in Landsat-8 and Sentinel-2 images

This repository contains source code used in

[1] López-Puigdollers, D., Mateo-García, G., Gómez-Chova, L. “Benchmarking Deep Learning models for Cloud Detection in Landsat-8 and Sentinel-2 images” Submitted pre-print

NN architecture

Requirements

The following code creates a new conda virtual environment with required dependencies.

conda create -n dl_l8s2_uv -c conda-forge python=3.7 tensorflow=2 matplotlib --y

conda activate dl_l8s2_uv

python setup.py install

Inference Landsat-8 images

Expects an L1T Landsat-8 image from the EarthExplorer. The --landsatimage attribute points to the unzipped folder with a GeoTIF image for each band.

python inference.py CloudMaskL8 --l8image ./LC08_L1TP_002054_20160520_20170324_01_T1/ --namemodel rgbiswir

The folder ./LC08_L1TP_002054_20160520_20170324_01_T1 will contain a GeoTIF with the cloud mask.

Inference Sentinel-2 images

Expects an L1C Sentinel-2 image from the OpenHub. The --s2image attribute points to the unzipped SAFE folder. The --resolution attribute select the output resolution of the product (10, 20, 30 or 60)

python inference.py CloudMaskS2 --s2image ./S2A_MSIL1C_20160417T110652_N0201_R137_T29RPQ_20160417T111159.SAFE/ --namemodel rgbiswir --resolution 30

The folder ./S2A_MSIL1C_20160417T110652_N0201_R137_T29RPQ_20160417T111159.SAFE will contain a GeoTIF with the cloud mask.

Cite

If you use this work please cite:

 @article{lopez-puigdollers_benchmarking_2021,
	title = {Benchmarking Deep Learning models for Cloud Detection in {Landsat-8} and {Sentinel-2} images},
	volume = {},
	issn = {},
	doi = {},
	journal = {Submitted},
	author = {López-Puigdollers, Dan and Mateo-García, Gonzalo and Gómez-Chova, Luis},
	month = {},
	year = {2021},
	pages = {},
}

Related work

dl-l8s2-uv's People

Contributors

gonzmg88 avatar dlopezpuig avatar luisgomezchova avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.