Function of Mask (Fmask)

Submitted by Sixsmith Joshua on Wed, 22/05/2019 - 10:30
Short Description

Function of Mask (Fmask), is a classification process that categorises pixels into mutually exclusive classes.  The classes are defined as an enumerator with values 0 -> 5.

The Fmask algorithm works across Landsat's 4, 5, 7 and 8, as well as Sentinel-2 A & B.  The algorithms may differ per sensor, but the classification schema is standardised across all platform's/sensors.

The classes/categories are:

  • Unclassified -> 0
  • Clear -> 1
  • Cloud -> 2
  • Cloud Shadow -> 3
  • Snow -> 4
  • Water -> 5

Further details on the algorithm can be found here:

  • https://doi.org/10.1016/j.rse.2011.10.028
  • https://doi.org/10.1016/j.rse.2014.12.014

A Python implementation of the algorithm written by Neil Flood, can be found here: