Introduction to Image Classification
and Change Detection
Training:
16 November 2022
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Session Overview
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Prediction / Estimation
Estimation
Continuous values
Categorical values
Regression
Classification
Clustering
E.g.: Temperature estimation
E.g.: Land use land cover
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Prediction / Estimation
Estimation
Continuous values
Categorical values
Regression
Classification
Clustering
E.g.: Temperature estimation
E.g.: Land use land cover
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Image Classification
In remote sensing, image classification is an attempt to categorize each pixel into land use land cover classes/labels.
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Land cover relates to the physical characteristics of the surface.
Land use refers to how this land is being used by people.
Land Cover and Land Use
LC: Herbaceous vegetation
LU: Pasture or Park
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Supervised classification uses a training dataset with known labels that represent the spectral characteristics of each land use land cover class, in order to “supervise” the classification
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Types of Classification
Supervised
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Unsupervised classification is the opposite of supervised classification. The spectral classes are clustered together to then be categorized into groups: clustering, more computer automated
Types of Classification
Unsupervised (Clustering)
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Types of Classification
Unsupervised
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Types of Classification
Supervised and Unsupervised
Prior decision
Supervised
Post decision
Unsupervised
*We will only work with pixel-based classification
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Machine Learning
“Machine learning is the study of the computer algorithms that allow computer programs to automatically improve through experience.”
(Tom M. Mitchell, McGraw Hill, 1997)
It is a branch of Artificial Intelligence
“Machine learning utilizes various techniques to intelligently handle large and complex amounts of information to make decisions and/or predictions”.
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Supervised Classification
Which classifier to use?
There are many different classifiers and the decision is not always straightforward.
Check the options under the ee.Classifier object in GEE
We will use:
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Classification and Regression Tree (CART)
CART
Supervised Classification
Band 1 > 0.8
Band 2 < 0.4
Forest
Non forest
Forest
Yes
No
Yes
No
Root node
Internal node
Leaf node
Leaf node
Lead node
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Random Forest
Supervised Classification
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Unsupervised Classification (Clustering)
Which clusterer to use?
There are many clusterer options
Check the options under the ee.Clusterer object in GEE
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
K-means
Unsupervised classification (Clustering)
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Class Definition
It is extremely important to have labelling protocols for the reference dataset
LC
Forest
Non Forest
Broadleaf
Deciduous
….
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Class Definition
Código IPCC | Descripción IPCC | GeoBosques |
1 | Forest Land | Tierras Forestales |
2 | Cropland | Tierras Agrícolas |
3 | Grassland | Praderas |
4 | Wetland | Humedales |
5 | Settlements | Asentamientos |
6 | Other Land | Otras Tierras |
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Class Definition
Código MapBiomas | Descripción | Código IPCC | Descripcion IPCC |
3 | Formación Forestal | 01 | Tierras Forestales |
6 | Bosque Inundable | 04 | Humedales |
11 | Formación Natural No Forestal Inundable | 04 | Humedales |
12 | Formación Campestre | 03 | Praderas |
14 | Mosaico de Agricultura y/o Pasto | 02 | Tierras Agricolas |
24 | Infraestructura Urbana | 05 | Asentamientos |
25 | Otra Área sin Vegetación | 06 | Otras Tierras |
30 | Minería | 06 | Otras Tierras |
33 | Río, Lago u Océano | 04 | Humedales |
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Reference data creation (training)
To create in GEE:
FeatureCollection
Repeat for other classes using the +New Layer in Geometry Imports
Merge all FeatureCollections using the “merge” function
(Another option: you can also collect polygons - more spectral information)
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Good practices for training data collection
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Change Detection
Change detection is the process of assessing how landscape conditions are changing by looking at differences in images acquired at different times.
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Change Detection
Change detection is the process of assessing how landscape conditions are changing by looking at differences in images acquired at different times.
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Change Detection
Change detection is the process of assessing how landscape conditions are changing by looking at differences in images acquired at different times.
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Change Detection
Change detection is the process of assessing how landscape conditions are changing by looking at differences in images acquired at different times.
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Change Detection
Commonly used approaches:
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Change Detection
Commonly used approaches:
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Time Series Analysis
“A time series is a sequence of observations taken sequentially in time. … An intrinsic feature of a time series is that, typically, adjacent observations are dependent. Time-series analysis is concerned with techniques for the analysis of this dependency.” (Box et al., 1994)
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
LandTrendr
“LandTrendr is set of spectral-temporal segmentation algorithms that are useful for change detection in a time series of moderate resolution satellite imagery (primarily Landsat) and for generating trajectory-based spectral time series data largely absent of inter-annual signal noise.”
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
LandTrendr
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
LandTrendr
In practice, LandTrendr takes a single point of view of a pixel's spectral history, such as a band or an index, and goes through a process to identify breakpoints separating periods of durable change or stability in the spectral trajectory and records the year that change has taken place. These breakpoints, defined by year and spectral index value, allow us to represent the spectral history of a pixel as a series of vertices delimiting line segments.
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
CODED (COntinuous DEgradation Detection)�
Based on Spectral Unmixing and the Normalized Difference Fraction Index (NDFI)
NDFI
Intact forest
Logged forest
Non-Forest
Soil
Shade
NPV
GV
Landsat RGB
Slides from Eric Bullock
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
CODED (COntinuous DEgradation Detection)�
Slides from Eric Bullock
Steps:
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
CODED (COntinuous DEgradation Detection)�
Spectral Unmixing and the Normalized Difference Fraction Index (NDFI)
Spectral mixture
analysis & NDFI
Time series analysis (CCDC)1
Google Earth Engine
Large-area processing
Continuous Degradation Detection (CODED)
Slides from Eric Bullock
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
CODED (COntinuous DEgradation Detection)�
Spectral Unmixing and the Normalized Difference Fraction Index (NDFI)
Slides from Eric Bullock
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
D/ND
Deforestation
Sample Interpretation
Before
During
0 0.5 km
Slides from Eric Bullock
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
D/ND
Deforestation
Sample Interpretation
Slides from Eric Bullock
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
D/ND
Deforestation
Sample Interpretation
Slides from Eric Bullock
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Before
During
0 0.5 km
D/ND
Deforestation
Sample Interpretation
Slides from Eric Bullock
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
D/ND
Deforestation
Sample Interpretation
Slides from Eric Bullock
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
D/ND
Deforestation
Sample Interpretation
Slides from Eric Bullock
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
D/ND
Deforestation
Sample Interpretation
Slides from Eric Bullock
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
D/ND
Deforestation
Sample Interpretation
Slides from Eric Bullock
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Dense Forest, Rondônia
Cerrado Forest, Mato Grosso
Observed vs Predicted NDFI (Training Period)
Observed vs Predicted NDFI (Training Period)
Slides from Eric Bullock
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Continuous Degradation Detection (CODED)
-1
1
Slides from Eric Bullock
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Continuous Degradation Detection (CODED)
-1
1
Degradation:
Forest -> Forest
Deforestation: Forest-> Non Forest
Slides from Eric Bullock
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Degradation
Slides from Eric Bullock
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
MTDD
Uses 66 metrics to train a random forest classifier
Steps:
NDVI
SWIR1
SWIR2
NDWI2130nm
NDWI1640nm
SAVI
min
max
range
std
coef. of variation
kurtosis
skewness
slope
max-slope
most recent value
66 metrics
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Tutorial
Tutorial para el mapeo de disturbios forestales en la Amazonia
Sudoccidental usando CODED, LandTrendr y MTDD (GitHub)
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022
Useful Resources
Environmental Monitoring with Google Earth Engine
November 8, 10, 16, 17 - 2022