This is an introductory guide on using QGIS SCP (Semi-Automatic Classification/Supervised Classification) for classifying land cover using Landsat data.

Before we dive in, let’s start with some key basics.

Spectral Vs Informational Classes:

Spectral Classes : Group of pixels that are uniform with respect to their pixel values in several spectral bands

Informational Classes : Categories of interest to users of the data (i.e Water, Urban, Agriculture, Forest etc)

Image classification is the process of GROUPING spectral classes and assgining them informational class names

Land Cover Mapping Basics

Keep in mind that objects on the ground reflect electromagnetic radiation differently depending on the wavelength

  • This pattern of relection is known as the object’s spectral signature

  • For ex, (Green) vegetation absorbs (Red) light but reflects near-infrared (NIR) wavelengths.

Landsat Bands vs % reflectance

Analyze spectral signatures by plotting the reflectance values of Band 3 (Red) against Band 4 (NIR).

  • Different objects, like soil, water, and vegetation, will appear in distinct areas on the plot.
  • The software (QGIS and Others) uses this information to differentiate between various land cover types.

Landsat Bands vs % reflectance

Image Classification

Digital image classification is a way to group similar pixels in an image into different land cover types, like water, forests, or cities. There are three main methods: unsupervised, supervised, and object-based.

In supervised classification, the user selects sample areas for each type of land cover, called “training sites.” The software then uses these samples to figure out what the rest of the image shows. The classification process relies on the spectral signature defined by the training set, with the software assigning classes based on their closest match to the training data.

  • Approaches : Pixel-Based Vs Objects-Based
  • Methods : Supervised Vs Unsupervised

Supervised-Unsupervised

Semi-Automatic Classification Plugin (SCP)

  • Developed by Luca Congedo
  • Free, open-source plugin for QGIS that allows for supervised classification
  • It provides:
    • Several tools for the download of imagery
    • Preprocessing (Digital Numbers to Top of Atmosphere Reflectance)
    • Training site selection and analysis
    • Classification algorithms
  • Documentation: Congedo, Luca (2016). Semi-Automatic Classification Plugin Documentation

Workflow

  • Install QGIS SCP Plugin
  • Download required data from USGS earth explorer site
  • Subset the image and filter to area of interest
  • Create a training input file
  • Create the region of interest (ROI)
  • Analyze ROI (w/ different parameters)
  • Create a classification preview
  • Generate a classification output

Step 1 : Install Plugin

Install QGIS Plugin

Step 2 : Install Remotior Sensus

Install Remotior Sensus. It is a Python package that allows for the processing of remote sensing images and GIS data.

remotior

Step 3 : Account creation and Data Download

Step 4 : Load and Convert the image

- Use 0 as value for NoData
- Apply DOS1 atomospheric correction

Load the data

Step 5 : Generate Regions of Interest

Macro Class NameMacro Class IDClass NameClass ID
Water1Lake1
Vegetation2Forest2
Vegetation2Oak/Shrub3
Bare Ground3Burned4
Bare Ground3Forest Harvest5
Bare Ground3Other6

Step 6 : Training

Classification

Algorithm

Water lake ROI

Vegetation Burned

Step 7 : Output : Classification

Output

References

QGIS SCP Manual