ee.Algorithms.Landsat.simpleComposite
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Berechnet ein Landsat-TOA-Composite aus einer Sammlung von rohen Landsat-Szenen. Es wird eine Standard-TOA-Kalibrierung angewendet und dann jedem Pixel mit dem SimpleLandsatCloudScore-Algorithmus eine Cloud-Punktzahl zugewiesen. Dabei wird an jedem Punkt der niedrigstmögliche Bereich von Cloud-Scores ausgewählt und dann werden Perzentilwerte pro Band aus den akzeptierten Pixeln berechnet. Bei diesem Algorithmus wird auch der Algorithmus „LandsatPathRowLimit“ verwendet, um nur die Szenen mit der geringsten Bewölkung in Regionen auszuwählen, in denen mehr als die Eingabeszenen „maxDepth“ verfügbar sind.
Nutzung | Ausgabe |
---|
ee.Algorithms.Landsat.simpleComposite(collection, percentile, cloudScoreRange, maxDepth, asFloat) | Bild |
Argument | Typ | Details |
---|
collection | ImageCollection | Die zu erstellende Rohdaten-ImageCollection von Landsat. |
percentile | Ganzzahl, Standard: 50 | Der Perzentilwert, der beim Zusammensetzen der einzelnen Bänder verwendet werden soll. |
cloudScoreRange | Ganzzahl, Standard: 10 | Die Größe des Bereichs der Cloud-Scores, die pro Pixel akzeptiert werden sollen. |
maxDepth | Ganzzahl, Standard: 40 | Ein ungefähres Limit für die maximale Anzahl von Szenen, die zum Berechnen der einzelnen Pixel verwendet werden. |
asFloat | Boolescher Wert, Standard: „false“ | Bei „true“ haben die Ausgabebänder dieselben Einheiten wie der Landsat.TOA-Algorithmus. Bei „false“ werden TOA-Werte in „uint8“ konvertiert, indem sie mit 255 (reflektive Bänder) multipliziert oder 100 (thermische Bänder) subtrahiert und auf die nächste Ganzzahl gerundet werden. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003eCreates a Landsat composite image by selecting the least cloudy pixels from a collection of raw Landsat scenes using the SimpleLandsatCloudScore algorithm.\u003c/p\u003e\n"],["\u003cp\u003eComputes per-band percentile values from the accepted pixels, allowing users to specify the desired percentile.\u003c/p\u003e\n"],["\u003cp\u003eLimits the number of scenes used in the composite for each pixel to reduce computation and potentially enhance image quality.\u003c/p\u003e\n"],["\u003cp\u003eOffers flexibility in output data type, providing options for both floating-point and integer representations of TOA reflectance.\u003c/p\u003e\n"],["\u003cp\u003eEmploys the LandsatPathRowLimit algorithm to prioritize the least cloudy scenes in areas with abundant data.\u003c/p\u003e\n"]]],["The algorithm creates a Landsat TOA composite from raw scenes. It calibrates TOA, assigns cloud scores per pixel using SimpleLandsatCloudScore, and selects the lowest cloud score range at each point. It then calculates per-band percentile values from these pixels. The LandsatPathRowLimit algorithm ensures only the least-cloudy scenes are selected when more than `maxDepth` scenes are present. Users specify the raw collection, percentile, cloud score range, scene depth, and whether to output as floats.\n"],null,["# ee.Algorithms.Landsat.simpleComposite\n\nComputes a Landsat TOA composite from a collection of raw Landsat scenes. It applies standard TOA calibration and then assigns a cloud score to each pixel using the SimpleLandsatCloudScore algorithm. It selects the lowest possible range of cloud scores at each point and then computes per-band percentile values from the accepted pixels. This algorithm also uses the LandsatPathRowLimit algorithm to select only the least-cloudy scenes in regions where more than maxDepth input scenes are available.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------------------------------------------------------------------------------------------------|---------|\n| `ee.Algorithms.Landsat.simpleComposite(collection, `*percentile* `, `*cloudScoreRange* `, `*maxDepth* `, `*asFloat*`)` | Image |\n\n| Argument | Type | Details |\n|-------------------|-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `collection` | ImageCollection | The raw Landsat ImageCollection to composite. |\n| `percentile` | Integer, default: 50 | The percentile value to use when compositing each band. |\n| `cloudScoreRange` | Integer, default: 10 | The size of the range of cloud scores to accept per pixel. |\n| `maxDepth` | Integer, default: 40 | An approximate limit on the maximum number of scenes used to compute each pixel. |\n| `asFloat` | Boolean, default: false | If true, output bands are in the same units as the Landsat.TOA algorithm; if false, TOA values are converted to uint8 by multiplying by 255 (reflective bands) or subtracting 100 (thermal bands) and rounding to the nearest integer. |"]]