changeDate:A 1D array of doubles representing pairs of start and end dates for each fitted segment. The date format is determined by the dateFormat argument.
value: A 1D array of doubles of the value of the band at the changeDate.
magnitude: A 1D array of doubles providing the absolute difference between the values before and after a change date. The first magnitude is always NaN.
duration: A 1D array of doubles of the duration of the segment preceding the change date. The first duration is always NaN.
rate: A 1D array of doubles of the rate of change of the data preceding the. change date. The first rate is always NaN.
postMagnitude: A 1D array of doubles of the absolute difference between the values after the change date and the value at the change date. The last postMagnitude is always NaN.
postDuration: The duration of the segment following the change date. The last postDuration is always NaN.
postRate: The rate of change of the data following the change date. The last postRate is always NaN.
See Hermosilla et al. (2015) dx.doi.org/10.1016/j.rse.2014.11.005 for further details on the original algorithm.
This algorithm is in preview and is subject to change.
Usage | Returns |
---|---|
ee.Algorithms.TemporalSegmentation.C2c(collection, dateFormat, maxError, maxSegments, startYear, endYear, infill, spikesTolerance) | Image |
Argument | Type | Details |
---|---|---|
collection | ImageCollection | Collection of images on which to run C2C. |
dateFormat | Integer, 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. |
maxError | Float, default: 75 | |
maxSegments | Integer, default: 6 | |
startYear | Integer, default: 1984 | |
endYear | Integer, default: 2019 | |
infill | Boolean, default: true | |
spikesTolerance | Float, default: 0.85 |