+ All Categories
Home > Documents > MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C....

MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C....

Date post: 05-Oct-2020
Category:
Upload: others
View: 10 times
Download: 0 times
Share this document with a friend
37
MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X
Transcript
Page 1: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

MASADA Sentinel 1 & 2 User Guide

Version 2.0

Corbane, C.

Panagiotis, P.

Maffenini, L.

2019

EUR 28609 EN

Y

X

Page 2: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

This publication is a Technical report by the Joint Research Centre (JRC), the European Commission’s science

and knowledge service. It aims to provide evidence-based scientific support to the European policymaking

process. The scientific output expressed does not imply a policy position of the European Commission. Neither

the European Commission nor any person acting on behalf of the Commission is responsible for the use that

might be made of this publication.

Contact information

Name: Christina Corbane

Address: European Commission, Joint Research Centre, Space, Security and Migration (Ispra), Disaster Risk

Management (JRC.E.1)

Email: [email protected]

Tel.: +39 0332 78 3545

EU Science Hub

https://ec.europa.eu/jrc

JRC116510

EUR 28609 EN

PDF ISBN 978-92-76-04002-6 ISSN 1831-9424 doi:10.2760/62083

Luxembourg: Publications Office of the European Union, 2019

© European Union, 2019

The reuse policy of the European Commission is implemented by Commission Decision 2011/833/EU of 12

December 2011 on the reuse of Commission documents (OJ L 330, 14.12.2011, p. 39). Reuse is authorised,

provided the source of the document is acknowledged and its original meaning or message is not distorted. The

European Commission shall not be liable for any consequence stemming from the reuse. For any use or

reproduction of photos or other material that is not owned by the EU, permission must be sought directly from

the copyright holders.

All content © European Union, 2019

Page 3: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

i

Contents

Abstract ............................................................................................................... 4

1 Introduction ...................................................................................................... 5

1.1 Overview .................................................................................................... 5

1.2 History and versioning .................................................................................. 5

1.3 Main features of the MASADA v.2 tool ............................................................ 5

2 Getting started .................................................................................................. 7

2.1 System Requirements .................................................................................. 7

2.2 Installing MASADA ....................................................................................... 7

2.2.1 MATLAB Runtime ................................................................................. 7

2.2.2 MASADA executable ............................................................................. 7

2.2.3 Cluster setup ....................................................................................... 7

2.3 Uninstalling MASADA .................................................................................... 8

3 The workflows ................................................................................................... 9

3.1 The Symbolic Machine Learning (SML) ............................................................ 9

3.2 Textural features – Pantex .......................................................................... 10

3.3 Sentinel-2 workflow ................................................................................... 11

3.3.1 Requirements for input S2 data ........................................................... 11

3.3.2 Overview of the classification from Sentinel-2 ....................................... 12

3.4 Sentinel-1 workflow ................................................................................... 13

3.4.1 Requirements for input S1 data ........................................................... 13

3.4.2 Overview of the classification from Sentinel-1 ....................................... 14

4 Using the tool ................................................................................................. 16

4.1 Launching the tool ..................................................................................... 16

4.2 Defining the parameters ............................................................................. 17

4.2.1 Setup > Settings ............................................................................... 17

4.2.2 Setup > Settings > Sensor definition .................................................... 18

4.2.3 Setup > Settings > Learning set .......................................................... 18

4.2.4 Setup > Settings > Validation set ........................................................ 19

4.2.5 Setup > Settings > Pantex .................................................................. 20

4.2.6 Setup > Settings > SML ..................................................................... 21

4.2.7 Setup > Settings > Advanced settings .................................................. 22

4.2.8 Saving the parameters ....................................................................... 22

4.3 Executing the workflow .............................................................................. 23

4.3.1 Execute on workstation ...................................................................... 23

4.3.2 Execute on cluster ............................................................................. 24

4.4 Output files and intermediate results ............................................................ 25

Page 4: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

ii

4.4.1 Output files for S2_L2A and S1 ............................................................ 25

4.4.2 Optional files ..................................................................................... 26

References ......................................................................................................... 27

Other useful Resources ........................................................................................ 28

List of boxes ....................................................................................................... 29

List of figures ...................................................................................................... 30

List of tables ....................................................................................................... 31

Annexes ............................................................................................................. 32

Annex 1. Validation and output metrics .............................................................. 32

Annex 2. Index of parameters ........................................................................... 33

Page 5: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

3

Authors

Christina Corbanea, Panagiotis Politisb, Luca Maffeninic

aEuropean Commission, Joint Research Centre

bArhs Developments S.A, Luxembourg

cUniSystems, Milan, Italy

Page 6: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

4

Abstract

MASADA stands for Massive Spatial Automatic Data Analytics. It has been developed in

the frame of the “Global Human Settlement Layer” (GHSL) project of the European

Commission’s Joint Research Centre, with the overall objective to support the production

of settlement layers, by automatic classification of high and very high resolution satellite

imagery.

The tool builds on the Symbolic Machine Learning (SML) classifier; a supervised

classification method of remotely sensed data which allows extracting built-up

information using a coarse resolution settlement map or a land cover information for

learning the classifier.

The first version of MASADA (v1.3) supports Very High Resolution satellite data and

includes pre-defined workflows for a variety of sensors (e.g. SPOT-5, SPOT-6/7,

RapidEye, CBERS-4).

The second version of MASADA (v2.0) is tailored to the processing of Copernicus

Sentinel-1 and Sentinel-2 data. Two workflows building on the SML but adapted to the

characteristics of each of the two sensors have been implemented in a stand-alone

software. The tool is designed for the processing of single scenes, for batch processing of

a series of scenes and for parallel processing of large datasets thanks to a dedicated

command-line interface.

This user guide is a comprehensive guide to all aspects of using the MASADA tool. It

includes instructions for the installation of the software, the use of the tool and the

manipulation of the data. It presents briefly the basic principles and background

information on the two main modules integrated in this new version: S1 module and S2

module. Some guidelines on the parametrization of the modules are also provided

together with test datasets.

Page 7: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

5

1 Introduction

1.1 Overview

The MASADA tool has been developed under the GHSL project of the European

Commission’s Joint Research Centre with the overall objective to support the production

of settlement layers by processing high and very high-resolution satellite imagery.

It builds on already implemented algorithms, carried out at the first stage of the project

(texture analysis with Pantex (Pesaresi, Gerhardinger, and Kayitakire 2008a) and a novel

supervised classification method, applied for the first time in the production of the

Landsat multi-temporal GHSL (Pesaresi, Syrris, and Julea 2016; Pesaresi et al. 2016).

The purpose of the MASADA tool is to foster reproducibility of the GHSL results through

the sharing of in-house analytical methods and through a handy tool for image

classification. This free software policy aims at decreasing the information production

cost while increasing interoperability of the information products and facilitating uptake

by Member States and other stakeholders.

The objective of this documentation is to provide an in-depth walk-through this tool for

massive data analytics.

1.2 History and versioning

The MASADA tool was initially developed in the early 2016, in the frame of the regional

cooperation with the South African National Space Agency (SANSA) and the Brazil’s

National Institute for Space Research (Instituto Nacional de Pesquisas Espaciais, INPE),

for the production of regional, multi-temporal, human settlement layers, making use of

the available high resolution image datasets (mainly SPOT-5 and CBERS-4 respectively).

— Version 1.1: In October of 2016, these two tools were merged into one version

supporting different optical sensors, together with new features.

— Version 1.2: It was released one month later to fix some bugs.

— Version 1.3: It was released in April 2017 and can be downloaded from the GHSL

website (https://ghsl.jrc.ec.europa.eu/tools.php). It includes several improvements

and optimization of the workflows. It supports Very High Resolution satellite data and

includes pre-defined workflows for a variety of sensors (e.g. SPOT-5, SPOT-6/7,

RapidEye, CBERS-4)1

— Version 2.0: This latest version of MASADA is tailored to the processing of Copernicus

Sentinel-1 and Sentinel-2 data. Two workflows building on the SML but adapted to

the characteristics of each of the two sensors have been implemented in a stand-

alone software. The tool is designed for the processing of single scenes, for batch

processing of a series of scenes and for parallel processing of large datasets thanks to

a dedicated command-line interface.

1.3 Main features of the MASADA v.2 tool

The tool includes two modules for automatic classification of Sentinel-1 and Sentinel-2

data. For each sensor a custom workflow and a set of parameters are defined both using

the SML classifier as a core method for the image classification. The main differences

between the two workflows are related to the sensor’s characteristics and hence to the

input features used in the processing chain.

1 Details on the specific workflow and additional in-house developed tools for the analysis of VHR data are

described in the MASADA 1.3 user guide: tps://ghsl.jrc.ec.europa.eu/documents/MASADA_User_Guide_1.3.pdf

Page 8: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

6

Pre-processed Sentinel data

The workflows require as input data:

— geocoded Sentinel-1 Ground Range Detected (GRD) for the Sentinel-1 module

— atmospherically corrected Sentinel-2 tiles (L2A) for the Sentinel-2 module

Defining the parameters

The parameters can be defined either through the Graphical User Interface (GUI) or

using a YAML (YAML Ain't Markup Language) configuration file (.yml, .yaml file

extensions) which can be edited using any text editor software.

Single scene and multiple scene processing

The tool supports single image processing, as well as batch processing through the GUI.

It allows also managing large datasets though the “export to cluster” option which saves

the configurations files to be used on a command-line interface for parallel processing.

Learning phase

The supervised classification is based on a learning set. This dataset should not be

sample-based, but should cover the whole area of interest. Any spatial information

describing the presence of built-up area, like building footprint data or generalized data

like land use / land cover information layer can be used in the learning phase of the

classification.

Validation phase

The presence of a validation set is optional, but is recommended for the evaluation of the

output and for the cross-comparison of the parametrization. In this case pixel by pixel

performance statistics are calculated and saved in .csv format.

Output files

The output files consist of GEOTIFF images at a spatial resolution of 10 meters and with

the same geographic information (projection and spatial extent) as the input satellite

data. They include the final classified output and the confidence layer, accompanied by a

CSV file comprising the I/O parameterization, general metadata and performance metrics

and a log file with execution times-control conditions.

This user manual provides instructions about the installation of the required software and

the data set-up (chapter 2). The classifier and the basic aspects and definitions are

illustrated in the chapter 3 along with the workflow schema. The graphical user interface,

the configuration file and the use of the tool are presented in chapter 4.

Page 9: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

7

2 Getting started

The algorithms have been coded in the scripting language of MATLAB R2018b. We note

here that some sub-routines have been developed in C++ and JAVA programming

languages in order to resolve performance issues and improve the modules interfacing.

For image reading and writing, we employ MATLAB wrappers of the respective GDAL

functionalities (Geospatial Data Abstraction Library: http://www.gdal.org/).

2.1 System Requirements

To use MASADA, your system must meet the following minimum requirements:

Table 1. System requirements

Operating system Processor Disk space RAM

Windows 7 or

Windows 10

Any Intel or AMD

x86-64 processor

100Mb (+ 700 Mb

for Matlab Runtime)

16 GB (recommended)

Linux CentOS 6.10 Any Intel or AMD

x86-64 processor

100 Mb (+ 700 Mb

for Matlab Runtime)

16 GB (recommended)

Linux ubuntu 16.04 Any Intel or AMD

x86-64 processor

100 Mb (+ 700 Mb

for Matlab Runtime)

16 GB (recommended)

2.2 Installing MASADA

To have MASADA running on your computer you need to install also the MATLAB

Runtime.

2.2.1 MATLAB Runtime

Verify the MATLAB Runtime is installed and ensure you have installed version 9.5

(R2018b).

If not already installed, download the Windows 64-bit R2018b version of the MATLAB

Runtime from the MathWorks Web site:

https://uk.mathworks.com/products/compiler/matlab-runtime.html

For more information about the MATLAB Runtime and the MATLAB Runtime installer, see

Package and Distribute in the MATLAB Compiler documentation in the MathWorks

Documentation Center.

2.2.2 MASADA executable

The Windows installer is included in the zip file.

After saving it on your hard drive, unzip the zip file and run the executable directly by

calling MASADA.exe.

2.2.3 Cluster setup

Currently the processing in cluster is supported on these operating systems:

— Linux CentOS 6.10 64bit

— Linux Ubuntu 16.04 64 bit

Install the corresponding MATLAB R2018b Runtime version and unzip the linux archive

anywhere in your cluster.

Page 10: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

8

Figure 1. Files included in the MASADA linux version

2.3 Uninstalling MASADA

To remove MASADA just delete the executable file and its folder.

Matlab Runtime can be uninstalled as well if not needed by other applications.

Page 11: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

9

3 The workflows

The MASADA v.2 tool builds on the Symbolic Machine Learning classifier with a

component for enhanced feature extraction: the Pantex2. Those two modules represent

the building block of the workflow. They are briefly described in the following sections.

3.1 The Symbolic Machine Learning (SML)

The information extraction tasks included in the GHSL production workflow builds on the

SML method that was designed for remote sensing image classification allowing

computationally efficient and model-free classification of large amount of satellite data

(Pesaresi, Vasileios, and Julea 2016).

The SML schema relies on two relatively independent steps:

1. Reduce the data instances to a symbolic representation, also called unique quantized

data-sequences denoted by �̂�𝑞𝑖𝐹 ;

2. Evaluate the association between the unique data-sequences X (input features F) and

the learning set Y (known class abstraction derived from a learning set).

In the application proposed here, the data-abstraction association is evaluated by a

confidence measure called Evidence-Based Normalized Differential Index (ENDI) which is produced in the continuous [-1, 1] range. The ENDI confidence measure 𝛷𝐸 of data

instances 𝑋 provided the 𝑌+ positive and negative 𝑌− data instances from the learning set

is defined as follows:

𝛷𝐸 (𝑋|𝑌+, 𝑌−) =𝑓+− 𝑓−

𝑓++ 𝑓− (1)

where 𝑓+ and 𝑓− are the frequencies of the joint occurrences among data instances and the positive and negative data instances respectively.

Figure 2. The Symbolic Machine Learning approach for remote sensing data classification

The SML automatically generates inferential rules linking the satellite image data to

available high-abstraction semantic layers used as learning sets. In principle, any data

thematically linked or approximating the “built-up areas” class abstraction with an

exhaustive worldwide coverage can be used for deriving human settlements information

from any satellite imagery. There is no need for full a priori spatial and temporal

alignment between the input imagery and the learning set nor calibration of the input

data as the SML learning process is computationally efficient and can be executed “on-

2 In MASADA v1.3, an additional feature the CSL (Characteristics- Saliency-Leveling) was also implemented

for deriving morphological features from VHR data.

Page 12: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

10

the-fly” for every input satellite scene. Details on the SML algorithm and its suitability for

processing of big earth data are provided in (Pesaresi, Syrris, and Julea 2016; Pesaresi,

Vasileios, and Julea 2016).

In the GHSL paradigm, the built-up area class is defined as the union of all the spatial

units collected by the specific sensor and containing a building or part of it. The satellite

data is described by 1) multi-spectral radiometric features, 2) textural features and 3)

morphological features, extracted from the multispectral and panchromatic bands.

We describe hereafter the textural features implemented in the MASASDA v.2 tool.

Morphological features are more suitable for information extraction from VHR imagery

and hence are implemented in MASADA v 1.3 only.

3.2 Textural features – Pantex

The texture-derived built-up presence index (PanTex) (Pesaresi, Gerhardinger, and

Kayitakire 2008a) is calculated from the textural characteristics of panchromatic satellite

data. The index is based on fuzzy rule-based composition of anisotropic textural co-

occurrence measures derived from the satellite data by the gray-level co-occurrence

matrix (GLCM). In the GLCM approach, several key parameters play a role for the

textural index calculation: the selected statistics, the vector displacement, the window

size and the number of gray levels in the image. All of these parameters are related to

the spatial and spectral resolution of the image, and the spatial characteristics

(dimension, shape) of the different classes to be detected:

1. The selected statistics: The detection of built-up areas is based on the calculation

of contrast textural measure derived from the GLCM.

2. The vector of displacement: in the Pantex a total of 8 combinations of distance

and angle of the displacement vector have been selected inside a predefined window

size (Figure 3). The anisotropic information associated with the GLCM textural

measure is exploited using the minimum operator (intersection operator: ) and

maximum operators (union operator: ) of the 8 combinations instead of the usual

average for integrating the different texture directions.

Figure 3. Four GLCM displacement vectors used in the Pantex. The additional four displacement

vectors correspond to the symmetrical representation of the four illustrated vectors [-1, -1], [-1,0], [-1, +1], [0,-1]

3. The window size: is a parameter to be defined by the user. The value is derived by

the empirical estimation of relation between window size and detection accuracy for a

specific set of settlement structures. In the case of an image with a spatial resolution

of 5 meters, the target minimal settlement structure detectable is composed by at

least two buildings, some open spaces, and roads in between with an estimated

minimal footprint of approximately 50 m, corresponding to a window size of 9 x 9

pixels at the given pixel size of 5 m.

Page 13: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

11

3.3 Sentinel-2 workflow

In this section an overview of the Sentinel-2 workflow is provided with a focus on the

main features implemented in the dedicated module.

3.3.1 Requirements for input S2 data

The Sentinel-2 module is designed for the processing of Sentinel-2 atmospherically

corrected data (Level-2A). Level-2A can be generated by the user from Level 1- product

using the Sentinel-2 Toolbox or the standalone version of the Sen2Cor processor. The

Level-2A operational processor generates, from algorithms of scene classification and

atmospheric correction, Level-2A (BOA reflectance) products from Level-1C products.

Alternatively, the user may use the Level-2A data operational product delivered by the

European Space Agency (ESA) starting from the middle of March 2018 and beginning

with coverage of the Euro-Mediterranean region, with a gradual ramp-up to systematic

worldwide coverage.

Level 2A-processing is split into two parts:

— Scene Classification (SC) aims at providing a pixel classification map (cloud, cloud

shadows, vegetation, soils/deserts, water, snow, etc.)

— Atmospheric Correction (S2AC) aims at transforming TOA reflectance into BOA

reflectance

The Level-2A image data product uses the same tiling, encoding and filing structure as

Level-1C.

The Level-2A product has a SAFE format (Figure 4). This groups together several types

of file:

1. metadata file (XML file)

2. preview image (JPEG2000 with GML geo-location)

3. tiles files with BOA reflectances image data file (GML / JPEG2000) for each tile

4. datastrip files

5. auxiliary data

6. ancillary data (GIPPs, set of XML files).

Each pixel value is encoded in 12 bits. Standard distributed products contain the

envelope of all resolutions in three distinct folders:

— 10 m: containing spectral bands 2, 3, 4, 8, a True Colour Image (TCI) and an Aerosol

Optical Thickness (AOT) and Water Vapor (WV) maps resampled from 20 m.

— 20 m: containing spectral bands 2 - 7, the bands 8A, 11 and 12, a True Colour Image

(TCI), a Scene Classification map (SCL) and an AOT and WV map. The band B8 is

omitted as B8A provides more precise spectral information.

— 60 m: containing all components of the 20 m product resampled to 60 m and

additionally the bands 1 and 9. The cirrus band 10 is omitted, as it does not contain

surface information.

Figure 4. Level-1C Sentinel-2 Product Physical Format

Page 14: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

12

For details on the Level-2A product and the processor, it is recommended to refer to the

Sen2Cor configuration and user manual.

In MASADA v.2 the input path to the data to be processed should point either 1) to the

.SAFE folder for the processing of individual tiles or 2) to a directory containing several

.SAFE folders for batch processing of several tiles.

3.3.2 Overview of the classification from Sentinel-2

The SML image classification framework is extended to exploit the key features of S2

data: i) the availability of four 10 m spatial resolution bands (B2-Blue, B3- Green, B4-

Red and B8- Near Infrared), ii) the availability of six bands at 20 m resolution especially

in the Near Infrared (NIR) and Shortwave Infrared (SWIR) (B5, B6, B7, B8a in NIR and

B11, B12 in SWIR), iii) the Scene Classification map (SCL) that can be used for a

stratified learning of built-up areas by land cover class.

The following features (X) derived from Sentinel-2 are used for the classification of the

Sentinel-2 image with the SML approach: i) Spectral features: the three 10 m resolution

and 20 m bands, ii) Textural features: a textural feature derived from the brightness

(corresponding to the maximum of the visible bands at 10 m (see equation (2) ) by

applying the Pantex methodology (Pesaresi, Gerhardinger, and Kayitakire 2008b).

Brightness10m = Max (B210m, B310m, B410m) (2)

The textural feature is used for refining the output confidence layer by eliminating

overdetections, especially roads and open spaces identified as built-up. The learning set

(Y) should correspond to a map/dataset describing built-up areas and covering the full

data-domain of the input image being processed. The classification file of the Sen2Cor is

used during the associative analysis for stratifying the learning set of built-up derived

from GHSL-Landsat. This allows tailoring the training set to the image under processing

especially in the presence of clouds or cloud shadows and hence allows reducing

commission and omission errors.

The output confidence is further refined using the Normalized Difference Vegetation

Index (NDVI) derived from 10 meter Bands B4 and B8 (equation (3)). The output value

of the refined confidence 𝛷𝑝𝑡𝑥_𝑣𝑒𝑔 is rescaled in the range [0,1] .

Page 15: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

13

𝛷𝑝𝑡𝑥_𝑣𝑒𝑔 = 𝛷𝐸 ∗ 𝑝𝑎𝑛𝑡𝑒𝑥 ∗ (1 − 𝑁𝐷𝑉𝐼) (3)

The diagram in Figure 5 presents a simplified version of the workflow for the

classification of S2 image tiles.

Figure 5. Tile-based fully workflow for built-up areas extraction from S2 Level-2A data. In this schematic workflow, the Global multitemporal built-up layer derived from Landsat (GHSL_Landsat)

is used as a learning set.

3.4 Sentinel-1 workflow

In this section an overview of the Sentinel-1 workflow is provided with a focus on the

main features implemented in the dedicated module.

3.4.1 Requirements for input S1 data

The Sentinel-1 module is designed for the processing of geocoded Sentinel-1 Level-1

Ground Range Detected (GRD) products acquired in Interferometric Wide (IW) swath

mode in dual polarizations (VV+VH or HH+HV). The preprocessing of Sentinel-1can be

done using the SNAP (S1TBX). The user is encouraged to use the preprocessing workflow

delivered together with the test data accompanying MASADA v.2

(SNAP_workflow_2018.xml). The preprocessing workflow corresponds to a graph in xml

format containing all processing steps that can be loaded in the SNAP Tools –> graph

builder and applied to a series of images in batch mode (Figure 6).

Box 1. SNAP output names

It is strongly recommended not to modify the names of the two output files produced

from the SNAP workflow which should have the following names:

Sigma0_VH.img / Sigma0_VV.img

or

Sigma0_HH.img /Sigma0_HV.img

Page 16: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

14

Figure 6. SNAP workflow for preprocessing Sentinel-1 data using the ESA S1TBX

For users wishing to implement a different preprocessing chain, a step-by-step tutorial on

radiometric and terrain correction of Sentinel-1 data is available on the Alaska Satellite

Facility of NASA3: https://www.asf.alaska.edu/asf-tutorials/data-recipes/rtc-using-s1tbx-

graph/

3.4.2 Overview of the classification from Sentinel-1

The SML classifier was adapted to exploit the key features of the Sentinel-GRD data

which are:

— the spatial resolution of 20 meters with a pixel spacing of 10 meters and

— ii) the availability of images acquired in ascending and descending modes and iii) the

dual polarisation acquisitions (VV and VH mostly) widely used for monitoring urban

areas since different polarizations have different sensitivities and different

backscattering coefficients for the same target (Matsuoka and Yamazaki 2004).

The input features (X) to the SML classifier consisted of:

— Dual polarized backscatter intensities (IVV and IVH) processed at a resolution of 10 m

(for very few products, the respective IHH and IHV were used).

— Textural features computed from the image local statistics. They correspond to the

mean and standard deviations (STD) of backscatter intensities calculated in a local

neighbourhood of four different sizes: 3x3, 5x5, 7x7 and 9x9 pixels matching typical

building structures. Textural features are expected to enhance the capacity of the

SML in delineating built-up structures as demonstrated in multiple studies dealing

with SAR images in urban environments (Corbane et al. 2018; Dell’Acqua and Gamba

2003; Pesaresi and Gerhardinger 2011). All input features are quantized following a

3 Automating a Radiometric Terrain Correction Process Chain Using a Sentinel-1 Toolbox Graph : https://media.asf.alaska.edu/uploads/pdf/current_data_recipe_pdfs/graphprocessingrtcrecipe_v1.7.pdf

Page 17: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

15

multilevel thresholding based on Otsu’s optimization (Huang and Wang 2009). This

allows reducing the feature space and increases the computational efficiency. The

unique data sequences are also constructed at this stage. The results of the input

data reduction stage, that is, the unique data sequences are used in the following

association analysis step.

The learning data (Y) representing built-up areas at a coarser resolution is given by

existing maps of built-up areas (e.g. the Global Human Settlement Layer, or the

European Settlement Map (ESM 2012) (Florczyk et al. 2016)). The learning data are

downscaled via nearest neighbor interpolation to reach the spatial resolution of the input

features. Then, the SML automatically analyzes the relationships between the data

sequences and the reference instances through association analysis and calculates the

ENDI measure. The output ENDI value can also be interpreted as a membership value to

the built-up class when using fuzzy or continuous logic multi-criteria frameworks.

Originally produced in the range of [-1, 1], ENDI is rescaled linearly in the range [0, 1].

Finally for the purpose of comparison with other built-up products, the continuous ENDI

image is binarized following the Otsu thresholding approach (Otsu 1979).

A simplified workflow of the adapted SML workflow for the classification of Sentinel-1A

and Sentinel-1B data is shown in Figure 7 with a total of 18 input features and the

GHSL-Landsat and the ESM 2012 can be used for instructing the learning in the

association analysis.

Figure 7. Simplified workflow showing the adaptation of the SML to the classification of Sentinel-1

images at the global level. The input features comprise 18 data layers derived from dual-polarization Sentinel-1 intensity data. In this schematic workflow the European Settlement Map

(ESM 2012) or the GHSL Landsat are used as examples of learning sets.

X : Input features

Data reduction Association analysis

Mean IVV ; Mean IVH (3x3)

Backscatter intensities: IVV ; IVH

Unique

sequences

Unique

sequencesConfidence

in Built-up

ENDI

Mean IVV ; Mean IVH (5x5)

Sen

tin

el-1

GR

D i

ma

ge

fea

ture

s

Mean IVV ; Mean IVH (7x7)

Mean IVV ; Mean IVH (9x9)

STD IVV ; STD IVH (3x3)

STD IVV ; STD IVH (5x5)

STD IVV ; I STD VH (7x7)

STD IVV ; STD IVH (9x9)

Output

European

Settlement Map –

or- GHSL

Landsat

Reference data

Y : Learning set

Multilevel

thresholdingY

X

Page 18: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

16

4 Using the tool

4.1 Launching the tool

There are two ways to initialize the tool a. by clicking on the executable MASADA.exe, b.

by typing the full path to the executable in the Windows Command Prompt (cmd.exe)

and pressing ENTER (Figure 8).

Figure 8. Running the MASADA executable from windows command prompt

The graphical user interface (GUI) will be loaded (Figure 9). During the execution of the

tool, informative messages about the progress will be shown in the Command Prompt

window. If the initialization is done directly by clicking the .exe file, the progress

messages and the error logs, are monitored in the log file “GHSL_process_status.txt”.

This file is saved inside output folder (as defined by the user) along with the timestamp,

the identifiers of the input image and the processing status.

Figure 9. Graphical user interface of the MASADA tool

Page 19: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

17

4.2 Defining the parameters

The first step consists in selecting the module and defining the parameters for executing

the workflow of the selected sensor.

The parameters can be defined in the Settings window.

4.2.1 Setup > Settings

The following GUI will be displayed allowing to define a set of parameters:

Figure 10. Interface for setting the parameters by selected sensor

Page 20: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

18

The parameters are organized into 6 categories that will be explained in the following

tables.

4.2.2 Setup > Settings > Sensor definition

Table 2. Sensor definition

Section Parameter Definition

Sensor

definition

Sensor Select one of the two modules

S1

S2_L2A

4.2.3 Setup > Settings > Learning set

Table 3. Learning set

Section Parameter Definition

Learning

Set

BU_learn_path The path of the local file for learning the SML classifier

(GDAL supported format including .tif and .vrt)

BU_learn_domain Codes in the learning set that are valid data e.g.:

1 2 3

1:3

BU_learn_pos Codes in the learning set that are positive built-up

examples e.g.:

3 4 5 6

Min_num_samples Minimum number of learning samples, below which the

scene is not processed e.g.:

100

Figure 11. Learning set

Page 21: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

19

4.2.4 Setup > Settings > Validation set

Table 4. Validation set

Section Parameter Definition

Validation

set

BU_valid_path

(optional)

Full path to the validation set. The path of the local file for

learning the SML classifier (GDAL supported format

including .tif and .vrt)

The validation data can correspond to any thematic map

(not necessarily binary classification) covering partially or

fully the extent of the input image.

In case the geographical extent of the validation exceeds

that of the input image, the validation will be clipped to the

same extent of the input data.

In case, the geographical extent of the validation data

partially covers that of the input image, the metrics will be

calculated only for the extent where the validation set is

provided corresponding to the intersection with the valid

image data.

BU_valid_domain Codes in the validation set that are valid data e.g.:

0 1

1:3

BU_valid_pos Codes in the validation set that are positive built-up areas

examples e.g.:

1

Figure 12. Validation set

Page 22: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

20

4.2.5 Setup > Settings > Pantex

The textural feature is calculated using the Pantex algorithm (see section 3.2). This is

specific to optical data, and in the case of MASADA v.2 , it applies only for the S2_L2A

module. The calculation of the textural feature requires the setting of window size.

Table 5. Pantex

Section Parameter Definition

Pantex Pantex_winsize

!!! in the case of

S2_L2A only

Window (kernel) size for Pantex calculation expressed in

pixels e.g.:

5 5

Figure 13. Pantex

Page 23: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

21

4.2.6 Setup > Settings > SML

Table 6. SML

Section Parameter Definition

SML multithreshold

!!! in the case of S1

only

Parameter the multilevel thresholding based on Otsu’s

optimization. This allows reducing the feature space and

increases the computational efficiency of the 18 features

used in the S1 module e.g.:

15 5

The first parameter is used in the quantization of the

intensity bands and their means calculated with the 4

different window sizes

The second parameter is used for quantizing the standard

deviations features calculated from the intensity bands

with 4 different window sizes.

SML_quantization Quantization parameter corresponding to the number of

levels for reducing the radiometric features. It is

recommended to run several tests for defining this

parameter. An optimal number of levels should yield an

Average Support in the range 102 – 103 e.g.:

512

The output value of the Average Support (AverageSupport)

can be checked from the output Outrec.csv file

resampling Resampling method when resizing the ENDI confidence

layer to 10 meters. Three resampling methods are

proposed: bilinear, nearest and average.

Figure 14. SML

Page 24: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

22

4.2.7 Setup > Settings > Advanced settings

Table 7. Advanced settings

Section Parameter Definition

Advanced

settings

blockproc Option to process input data in blocks. If set to true, it

processes images by block, reducing the amount of

memory required.

True

False

block_winsize Bock window size for block processing if blockproc is set to

true e.g.:

4096 4096

parallel Enable parallel mode on machine with multicore

processors. When set to true, block processing attempts to

run in parallel mode, distributing the processing across

multiple workers (MATLAB® sessions) in an open MATLAB

pool.

True

False

output_intermediate Select the option to save intermediate files

True

False

Figure 15. Advanced settings

4.2.8 Saving the parameters

Once defined, the parameters can be saved in a .yml configuration file and reloaded for

processing of other datasets.

Page 25: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

23

Setup > Settings > Save

4.3 Executing the workflow

4.3.1 Execute on workstation

Once the parameters are defined or loaded from a configuration file, close the settings

interface.

In the main MASADA GUI, define the input path to data (check sections 3.3.1 and 3.4.2

for the requirements on input Sentinel-2 and Sentinel-1 data).

Define the path to output folder.

Several datasets can be processed in batch mode, for instance when selecting as INPUT a

folder containing several .SAFE folders with S2 granules. The products will be listed and

processed sequentially.

The STATUS column gives information on the status of the processing of each input data

under processing:

— PENDING: for datasets to be processed

— RUNNING: when the datasets are being processed

— SKIP: if the user wished to skip the processing of a specific input data

— ERROR: if there is an error during the execution of the workflow.

— DONE: when the dataset has been successfully processed

In the LOGS box, messages on errors, warnings and processing status are displayed.

Once INPUT, OUTPUT folders are defined, the process can be launched as follows:

File > Run

Figure 16. Windows Run

Page 26: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

24

4.3.2 Execute on cluster

For parallel processing on a cluster, it is possible to export the configuration file per

scene and execute the workflow using the command line as follows:

File > Export to cluster

This function exports a configuration file (.yaml) including the path to the input data to

be processed and the defined parameters. Each image will have its own configuration file.

Once you have one configuration file per image, to run the process in the cluster you

need to call the bash file with the following parameters:

Box 2. Run MASADA CLI in Linux

./run_MASADA_CLI.sh <MATLAB Runtime path> <YAML config file path>

Figure 17. Linux Run

Page 27: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

25

The process will display all steps, including:

1. Environment variables setup

2. Parameters values read from YAML file

3. Processing logs

4.4 Output files and intermediate results

It is useful to export both the main output results but also the intermediate files of the

processing in order to examine stepwise the results and to fine-tune accordingly the

parameters. The output and intermediate results correspond to the following files:

4.4.1 Output files for S2_L2A and S1

The rows highlighted in gray are specific to the Sentinel-2 workflow.

Table 8. Ouput for S2_L2A and S1

Output Description

BU_LEARN.tif The learning set resampled at 10 meters (uint8 with 0: No built-up, 1: built-up)

DATAMASK.tif Mask of valid data at 10 meters (uint8 with 0: non valid, 1: valid data domain)

Pantex.tif Output Pantex at 10 meter (uint16 : (0-16000) / nodata value: 65535)

BU_confidence.tif ENDI confidence layer at 10 meters (single: (-1,1) /nodata: -201)

BU_confidence_refined.tif ENDI confidence layer refined with texture and vegetation at 10 meters (single: (-1,1) /nodata: -201)

BU_binary_OTSU.tif the classified output derived from threhoslding of ENDI confidence using OTSU thresholding method at 10 meters (uint8 with 0: No built-

Page 28: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

26

up, 1: built-up)

BU_binary_ROC.tif

the classified output at 10 meters derived from threhoslding of ENDI confidence using Receiver Operating Characteristic curve (ROC) and the Overall Accuracy evaluation metric (uint8 with 0: No built-up, 1: built-up)

outrec.csv

metadata of the processing including: - scene ID,

- geoinformation (pixel size, projection, etc.),

- Count of number of pixels classified as clouds in the SCL map of Sen2COR,

- Count of number of pixels classified as water in the SCL map of Sen2COR,

- Count of number of pixels classified as land in the SCL map of Sen2COR,

- Count of positive samples from the learning set,

- Quantization parameter,

- Average Support based on the quantized data,

- number of unique sequences,

- OTSU threshold,

- Optimal Overall Accuracy obtained from the ROC curve,

- Time stamps of each processing step in the workflow

param.yml Configuration file including the user defined parameters

logs.txt Log file with processing steps and elapsed time for each step of the workflow

4.4.2 Optional files

The rows highlighted in gray are specific to the Sentinel-2 workflow.

Table 9. Optional output

Output Description

NDVI.tif Normalized Difference Vegetation Index derived from Sentinel-2 at 10 meters (single (0,1) /nodata: -201)

Perfomance_Metrics.csv

In case a validation set is available and defined in the input parameter file, a set of quality metrics are calculated and saved in a table. In the case of Sentinel-2: The two binary outputs ( BU_binary_OTSU and BU_binary_ROC) are validated and the results of the different performance metrics are included in the same table

ROC_Metrics.csv Metrics derived from the ROC curve with optimal thresholds calculated per quality metric.

For details on the performance metrics, the user may refer to Annex.1.

Page 29: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

References

Corbane, C., G. Lemoine, M. Pesaresi, T. Kemper, F. Sabo, S. Ferri, and V. Syrris. 2018.

“Enhanced Automatic Detection of Human Settlements Using Sentinel-1 Interferometric

Coherence.” International Journal of Remote Sensing 39 (3): 842–53.

https://doi.org/10.1080/01431161.2017.1392642.

Dell’Acqua, F., and P. Gamba. 2003. “Texture-Based Characterization of Urban

Environments on Satellite SAR Images.” IEEE Transactions on Geoscience and Remote

Sensing 41 (1): 153–59. https://doi.org/10.1109/TGRS.2002.807754.

Florczyk, Aneta Jadwiga, Stefano Ferri, Vasileios Syrris, Thomas Kemper, Matina Halkia,

Pierre Soille, and Martino Pesaresi. 2016. “A New European Settlement Map From Optical

Remotely Sensed Data.” IEEE Journal of Selected Topics in Applied Earth Observations

and Remote Sensing 9 (5): 1978–92. https://doi.org/10.1109/JSTARS.2015.2485662.

Huang, Deng-Yuan, and Chia-Hung Wang. 2009. “Optimal Multi-Level Thresholding Using

a Two-Stage Otsu Optimization Approach.” Pattern Recognition Letters 30 (3): 275–84.

https://doi.org/10.1016/j.patrec.2008.10.003.

Matsuoka, Masashi, and Fumio Yamazaki. 2004. “Use of Satellite SAR Intensity Imagery

for Detecting Building Areas Damaged Due to Earthquakes.” Earthquake Spectra 20 (3):

975–94. https://doi.org/10.1193/1.1774182.

Otsu, Nobuyuki. 1979. “A Threshold Selection Method from Gray-Level Histograms.”

IEEE Transactions on Systems, Man, and Cybernetics 9 (1): 62–66.

https://doi.org/10.1109/TSMC.1979.4310076.

Pesaresi, M., D. Ehrlich, S. Ferri, A. Florczyk, Manuel Carneiro Freire Sergio, S. Halkia,

Andreea Julea, T. Kemper, Pierre Soille, and Vasileios Syrris. 2016. Operating Procedure

for the Production of the Global Human Settlement Layer from Landsat Data of the

Epochs 1975, 1990, 2000, and 2014. Publications Office of the European Union.

http://publications.jrc.ec.europa.eu/repository/handle/111111111/40182.

Pesaresi, M., and A. Gerhardinger. 2011. “Improved Textural Built-up Presence Index for

Automatic Recognition of Human Settlements in Arid Regions with Scattered Vegetation.”

IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing 4:

16–26.

Pesaresi, M., A. Gerhardinger, and F. Kayitakire. 2008. “A Robust Built-up Area Presence

Index by Anisotropic Rotation-Invariant Textural Measure.” IEEE Journal of Selected

Topics in Applied Earth Observations and Remote Sensing 1: 180–92.

Pesaresi, M., V. Syrris, and A. Julea. 2016. “A New Method for Earth Observation Data

Analytics Based on Symbolic Machine Learning.” Remote Sensing 8 (5): 399.

https://doi.org/10.3390/rs8050399.

Pesaresi, M., S. Vasileios, and A. Julea. 2016. “Analyzing Big Remote Sensing Data via

Symbolic Machine Learning.” In Proceedings of the 2016 Conference on Big Data from

Space (BiDS’16), 156–59. https://doi.org/10.2788/854791.

Page 30: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

Other useful Resources

GHSL project

http://ghsl.jrc.ec.europa.eu

External components and libraries:

MATLAB Runtime

http://uk.mathworks.com/products/compiler/mcr/

GDAL

http://www.gdal.org/

Page 31: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

List of boxes

Box 1. SNAP output names ................................................................................... 13

Box 2. Run MASADA CLI in Linux ........................................................................... 24

Page 32: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

List of figures

Figure 1. Files included in the MASADA linux version ................................................. 8

Figure 2. The Symbolic Machine Learning approach for remote sensing data

classification .......................................................................................................... 9

Figure 3. Four GLCM displacement vectors used in the Pantex. The additional four

displacement vectors correspond to the symmetrical representation of the four illustrated

vectors [-1, -1], [-1,0], [-1, +1], [0,-1] ................................................................. 10

Figure 4. Level-1C Sentinel-2 Product Physical Format............................................. 11

Figure 5. Tile-based fully workflow for built-up areas extraction from S2 Level-2A data.

In this schematic workflow, the Global multitemporal built-up layer derived from Landsat

(GHSL_Landsat) is used as a learning set. ............................................................... 13

Figure 6. SNAP workflow for preprocessing Sentinel-1 data using the ESA S1TBX ....... 14

Figure 7. Simplified workflow showing the adaptation of the SML to the classification of

Sentinel-1 images at the global level. The input features comprise 18 data layers derived

from dual-polarization Sentinel-1 intensity data. In this schematic workflow the

European Settlement Map (ESM 2012) or the GHSL Landsat are used as examples of

learning sets. ....................................................................................................... 15

Figure 8. Running the MASADA executable from windows command prompt .............. 16

Figure 9. Graphical user interface of the MASADA tool ............................................. 16

Figure 10. Interface for setting the parameters by selected sensor ........................... 17

Figure 11. Learning set ....................................................................................... 18

Figure 12. Validation set ...................................................................................... 19

Figure 13. Pantex ............................................................................................... 20

Figure 14. SML ................................................................................................... 21

Figure 15. Advanced settings ............................................................................... 22

Figure 16. Windows Run ...................................................................................... 23

Figure 17. Linux Run ........................................................................................... 24

Page 33: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

List of tables

Table 1. System requirements ................................................................................ 7

Table 2. Sensor definition ..................................................................................... 18

Table 3. Learning set ........................................................................................... 18

Table 4. Validation set ......................................................................................... 19

Table 5. Pantex ................................................................................................... 20

Table 6. SML ...................................................................................................... 21

Table 7. Advanced settings ................................................................................... 22

Table 9. Optional output ...................................................................................... 26

Page 34: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

Annexes

Annex 1. Validation and output

metrics In case a validation set is available and defined in the input parameter file a set of

quality metrics are calculated and saved as part of the outputs. Those metrics are

derived from the following confusion matrix:

Figure 18. Confusion matrix

Several additional statistics are derived from the confusion matrix. They are summarized

in the output Perfomance_Metrics.csv file. The main statistics that can be used for

comparing different output and for fine-tuning the workflow are the following:

Accuracy =𝑻𝑷+𝑻𝑵

𝑵 Balanced Accuracy =

𝑻𝑷𝑹+𝑻𝑵𝑹

𝟐=

𝟏

𝟐(

𝑻𝑷

𝑻𝑷+𝑭𝑵+

𝑻𝑵

𝑻𝑵+𝑭𝑷)

Commission error = 𝑭𝑷

𝑭𝑷+𝑻𝑷 Omission error =

𝑭𝑵

𝑭𝑵+𝑻𝑷

Sensitivity (True Positive Rate) = 𝑻𝑷

𝑻𝑷+𝑭𝑵 Specificity (True Negative Rate) =

𝑻𝑵

𝑻𝑵+𝑭𝑷

Kappa = 𝟐(𝑻𝑷×𝑻𝑵−𝑭𝑷×𝑭𝑵)

(𝑻𝑷+𝑭𝑵)(𝑭𝑵+𝑻𝑵)+(𝑻𝑷+𝑭𝑷)(𝑭𝑷+𝑻𝑵) Informedness=

𝑻𝑷×𝑻𝑵−𝑭𝑷×𝑭𝑵

(𝑻𝑷+𝑭𝑵)(𝑭𝑷+𝑻𝑵)

Page 35: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

Annex 2. Index of parameters

Block_winsize ........................................................................................................................................... 22 blockproc .................................................................................................................................................. 22 BU_learn_domain ..................................................................................................................................... 18 BU_learn_path.......................................................................................................................................... 18 BU_learn_pos ........................................................................................................................................... 18 BU_valid_domain ..................................................................................................................................... 19 BU_valid_path .......................................................................................................................................... 19 BU_valid_pos ............................................................................................................................................ 19 Multithreshold .......................................................................................................................................... 21 Output_intermediate................................................................................................................................ 22 Pantex_winsize ......................................................................................................................................... 20 parallel ........................................................................................................................................ 5, 6, 22, 24 resampling ................................................................................................................................................ 21 Sensor ....................................................................................................................................................... 18 SML_quantization ..................................................................................................................................... 21

Page 36: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

GETTING IN TOUCH WITH THE EU

In person

All over the European Union there are hundreds of Europe Direct information centres. You can find the address of the centre nearest you at: https://europa.eu/european-union/contact_en

On the phone or by email

Europe Direct is a service that answers your questions about the European Union. You can contact this service:

- by freephone: 00 800 6 7 8 9 10 11 (certain operators may charge for these calls),

- at the following standard number: +32 22999696, or

- by electronic mail via: https://europa.eu/european-union/contact_en

FINDING INFORMATION ABOUT THE EU

Online

Information about the European Union in all the official languages of the EU is available on the Europa website at: https://europa.eu/european-union/index_en

EU publications You can download or order free and priced EU publications from EU Bookshop at:

https://publications.europa.eu/en/publications. Multiple copies of free publications may be obtained by

contacting Europe Direct or your local information centre (see https://europa.eu/european-

union/contact_en).

Page 37: MASADA Sentinel 1 & 2 User Guide · MASADA Sentinel 1 & 2 User Guide Version 2.0 Corbane, C. Panagiotis, P. Maffenini, L. 2019 EUR 28609 EN Y X

KJ-1

A-2

8609-E

N-N

doi:10.2760/62083

ISBN 978-92-76-04002-6


Recommended