Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Algorithms.TemporalSegmentation.LandTrendrFit
Stay organized with collections
Save and categorize content based on your preferences.
Interpolates a time series using a set of LandTrendr breakpoint years. For each input band in the timeSeries, outputs a new 1D array-valued band containing the input values interpolated between the breakpoint times identified by the vertices image. See the LandTrendr Algorithm for more details.
Usage | Returns | ee.Algorithms.TemporalSegmentation.LandTrendrFit(timeSeries, vertices, spikeThreshold, minObservationsNeeded) | Image |
Argument | Type | Details | timeSeries | ImageCollection | Time series to interpolate. |
vertices | Image | Vertices image. A 1D array of LandTrendr breakpoint years. |
spikeThreshold | Float, default: 0.9 | Threshold for dampening input spikes (1.0 means no dampening). |
minObservationsNeeded | Integer, default: 6 | Min observations needed. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-13 UTC.
[null,null,["Last updated 2024-07-13 UTC."],[[["\u003cp\u003eInterpolates time series data using LandTrendr breakpoint years to create a smoother output.\u003c/p\u003e\n"],["\u003cp\u003eTakes an image collection as input and generates an image containing interpolated values between breakpoints.\u003c/p\u003e\n"],["\u003cp\u003eUsers can adjust spike dampening and minimum observation requirements for customized interpolation.\u003c/p\u003e\n"],["\u003cp\u003eRelies on the LandTrendr algorithm for identifying breakpoints within the time series.\u003c/p\u003e\n"]]],["The core functionality involves interpolating a time series using LandTrendr breakpoint years. It utilizes a `timeSeries` ImageCollection and a `vertices` Image containing LandTrendr breakpoint years to produce a new interpolated band. The function, `LandTrendrFit`, accepts two optional parameters: `spikeThreshold` to dampen input spikes, and `minObservationsNeeded` specifying the minimum number of observations needed for the interpolation. The output is an Image containing the interpolated time series.\n"],null,["# ee.Algorithms.TemporalSegmentation.LandTrendrFit\n\nInterpolates a time series using a set of LandTrendr breakpoint years. For each input band in the timeSeries, outputs a new 1D array-valued band containing the input values interpolated between the breakpoint times identified by the vertices image. See the LandTrendr Algorithm for more details.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------------------------------------------------------------------------------------------------------|---------|\n| `ee.Algorithms.TemporalSegmentation.LandTrendrFit(timeSeries, vertices, `*spikeThreshold* `, `*minObservationsNeeded*`)` | Image |\n\n| Argument | Type | Details |\n|-------------------------|---------------------|----------------------------------------------------------------|\n| `timeSeries` | ImageCollection | Time series to interpolate. |\n| `vertices` | Image | Vertices image. A 1D array of LandTrendr breakpoint years. |\n| `spikeThreshold` | Float, default: 0.9 | Threshold for dampening input spikes (1.0 means no dampening). |\n| `minObservationsNeeded` | Integer, default: 6 | Min observations needed. |"]]