This tutorial is about the use of SCP for the assessment of land cover change. It is recommended to complete the Tutorial 2: Cloud Masking, Image Mosaic, and Land Cover Change Location before this tutorial.
The purpose of this tutorial is to locate land cover change over one year (between 2017 and 2018), using free Sentinel-2 images.
Following the video of this tutorial.
The purpose of this tutorial is to locate land cover change over one year (between 2017 and 2018), using free Sentinel-2 images.
'
1. Download the Data
We are going to download a Sentinel-2 Satellite image (Copernicus land monitoring services) and use the bands illustrated in the following table.Sentinel-2 Bands | Central Wavelength [micrometers] | Resolution [meters] |
---|---|---|
Band 2 - Blue | 0.490 | 10 |
Band 3 - Green | 0.560 | 10 |
Band 4 - Red | 0.665 | 10 |
Band 5 - Vegetation Red Edge | 0.705 | 20 |
Band 6 - Vegetation Red Edge | 0.740 | 20 |
Band 7 - Vegetation Red Edge | 0.783 | 20 |
Band 8 - NIR | 0.842 | 10 |
Band 8A - Vegetation Red Edge | 0.865 | 20 |
Band 11 - SWIR | 1.610 | 20 |
Band 12 - SWIR | 2.190 | 20 |
Start QGIS and the SCP . Open the tab Download products clicking the button
In general it is possible to define the area coordinates clicking the button
- UL: 12.4 / 41.9
- LR: 12.5 / 41.8
- 01 January 2017
- 10 February 2017
- 10 February 2018
- Date from: 2017-01-01
- to: 2017-01-01
L1C_T33TTG
in Filter to filter the results only for the tile 33TTG.Now click the button Find
Repeat the date definition and the search also for the 2017-02-10 image. You can notice that there are a few clouds over the area, therefore we are going to mosaic this image with the one acquired on 2017-01-01.
Finally, repeat the search for the 2018-02-10 image.
We can also select the bands to be downloaded according to our purpose. In particular, select the tab Download options and check only the Sentinel-2 bands that will be used in this tutorial and the ancillary data.
For the purpose of this tutorial, uncheck the option
Before starting the download we need to set the preprocessing options in the tab Sentinel-2 for preforming the DOS1 Correction. Check the options
To start the image download, in the tab Download products click the button RUN
After the download, all the bands of all the Sentinel-2 images (© Copernicus Sentinel data 2018) are automatically loaded in the map. We can also display the RGB color composite of the Band sets clicking the list RGB= in the Working toolbar, and selecting the item
3-2-1
.2. Create the cloud cover mask
Before the land cover change assessment, we need to remove cloud cover pixels in the image acquired on 2017-02-10. Of course we could perform the same process for all the other images.In QGIS, load the file
MSK_CLOUDS_B00.gml
that should be inside the directory L1C_T33TTG_A008556_20170210T100132_2017-02-10
. This vector file represents most of the cloud cover in the image. In QGIS Layers Panel, left click the vector MSK_CLOUDS_B00 MaskFeature
and select Export > Save Feature as
to save this gml file to shapefile (e.g. clouds.shp
).We can convert this vector file to raster using the tab Vector to raster.
Click the button
clouds
. Check the We could also improve the mask by manually editing the pixel of the raster using the tool Edit raster or creating a semi-automatic classification of clouds.
3. Mask clouds in the Sentinel-2 image
We are going to mask all the pixels covered by clouds in all the bands composing the Band set of the image acquired on 2017-02-10.In the tab Cloud masking, set the number of the 2017-02-10 Band set in Select input band set. In Select the classification we select the mask created at the previous step. Enter 1 in Mask class values. Finally, uncheck
Now click the button RUN
4. Mosaic the Sentinel-2 images
We are going to mosaic the 2017 images in order to create a cloud free image to be used for land cover change.We use the image acquired on 2017-01-01 to fill the gaps in the 2017-02-10 image. In the tab Band set, add a new Band set with the button
Now we can mosaic the 2017 images.
In the tab Mosaic of band sets, in the Band set list enter the number of the 2017-02-10 masked Band set, followed by comma, followed by the number of the 2017-01-01 Band set. Now click the button RUN
We could have used more than 2 Band sets. The process automatically mosaic the corresponding bands of the input Band sets filling the NoData gaps of the first Band set with the pixels of the following Band sets. The mosaic bands are automatically added to the map.
5. Land cover change
We are going to automatically locate the land cover change between the image mosaic of 2017 and the 2018 image.SCP includes a tool that allows for calculating the spectral distance between every corresponding pixel of two Band sets, and creating a raster of changes through a spectral distance threshold.
In the tab Band set, add a new Band set with the button
In the tab Spectral distance, set the number of the 2017 mosaic Band set in Select first input band set, and set the number of the 2018 Band set in Select second input band set. In Distance algorithm check the
Now click the button RUN
After a while, the spectral distance raster and the raster of changes are added to the map
This is an automatic method for locating land cover changes. We can see that most land cover changes are due to crop variations.
For instance, this method could be useful to assess vegetation burnt area or forest logging. We could set a different threshold value for increasing or reducing the number of pixels identified as changes.
Of course, in order to identify the type of land cover change we should identify the land cover classes of the images through photo-interpretation or with semi-automatic classification.