ee.Reducer.max
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
Creates a reducer that outputs the maximum value of its (first) input. אם numInputs גדול מ-1, הפונקציה מחזירה גם את הערכים התואמים של הקלט הנוסף.
שימוש | החזרות |
---|
ee.Reducer.max(numInputs) | הפחתה |
ארגומנט | סוג | פרטים |
---|
numInputs | מספר שלם, ברירת מחדל: 1 | מספר ערכי הקלט. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eThis reducer determines the maximum value of its primary input.\u003c/p\u003e\n"],["\u003cp\u003eIf specified with \u003ccode\u003enumInputs\u003c/code\u003e greater than 1, it also returns the corresponding values from the other input bands at the location of the maximum value.\u003c/p\u003e\n"],["\u003cp\u003eUse \u003ccode\u003eee.Reducer.max()\u003c/code\u003e to create an instance of this reducer, optionally specifying the number of inputs to consider.\u003c/p\u003e\n"]]],[],null,["# ee.Reducer.max\n\nCreates a reducer that outputs the maximum value of its (first) input. If numInputs is greater than one, also outputs the corresponding values of the additional inputs.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------|---------|\n| `ee.Reducer.max(`*numInputs*`)` | Reducer |\n\n| Argument | Type | Details |\n|-------------|---------------------|-----------------------|\n| `numInputs` | Integer, default: 1 | The number of inputs. |"]]