ee.Algorithms.TemporalSegmentation.Ccdc

Implements the Continuous Change Detection and Classification temporal breakpoint algorithm. This algorithm finds temporal breakpoints in an image collection by iteratively fitting harmonic functions to the data. Fit coefficients are produced for all input bands, but the bands used for breakpoint detection can be specified with the 'breakpointBands' argument.

 For more details, see Zhu, Z. and Woodcock, C.E., 2014. Continuous change detection and classification of land cover using all available Landsat data. Remote sensing of Environment, 144, pp.152-171.

UsageReturns
ee.Algorithms.TemporalSegmentation.Ccdc(collection, breakpointBands, tmaskBands, minObservations, chiSquareProbability, minNumOfYearsScaler, dateFormat, lambda, maxIterations)Image
ArgumentTypeDetails
collectionImageCollection

Collection of images on which to run CCDC.

breakpointBandsList, default: null

The name or index of the bands to use for change detection. If unspecified, all bands are used.

tmaskBandsList, default: null

The name or index of the bands to use for iterative TMask cloud detection. These are typically the green band and the SWIR2 band. If unspecified, TMask is not used. If specified, 'tmaskBands' must be included in 'breakpointBands'.

minObservationsInteger, default: 6

The number of observations required to flag a change.

chiSquareProbabilityFloat, default: 0.99

The chi-square probability threshold for change detection in the range of [0, 1]

minNumOfYearsScalerFloat, default: 1.33

Factors of minimum number of years to apply new fitting.

dateFormatInteger, default: 0

The time representation to use during fitting: 0 = jDays, 1 = fractional years, 2 = unix time in milliseconds. The start, end and break times for each temporal segment will be encoded this way.

lambdaFloat, default: 20

Lambda for LASSO regression fitting. If set to 0, regular OLS is used instead of LASSO.

maxIterationsInteger, default: 25000

Maximum number of runs for LASSO regression convergence. If set to 0, regular OLS is used instead of LASSO.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!