ee.Algorithms.FMask.matchClouds

Runs the FMask cloud and shadow matching. Outputs a single band ('csm'), containing the computed cloud and shadow masks.

UsageReturns
ee.Algorithms.FMask.matchClouds(input, cloud, shadow, btemp, sceneLow, sceneHigh, neighborhood)Image
ArgumentTypeDetails
inputImage

The scene for which to compute cloud and shadow masks.

cloudImage

Potential cloud mask image. Expected to contain 1s for cloudy pixels and masked pixels everywhere else.

shadowImage

Potential shadow mask image. Expected to contain 1s for shadow pixels and masked pixels everywhere else.

btempImage

Brightness temperature image, in Celsius.

sceneLowFloat

The 0.175 percentile brightness temperature of the scene.

sceneHighFloat

The 0.825 percentile brightness temperature of the scene.

neighborhoodInteger, default: 50

The neighborhood to pad around each tile.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!