ee.Reducer.max
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สร้างตัวลดที่แสดงค่าสูงสุดของอินพุต (แรก) หาก numInputs มากกว่า 1 ระบบจะแสดงค่าที่สอดคล้องกันของอินพุตเพิ่มเติมด้วย
การใช้งาน | การคืนสินค้า |
---|
ee.Reducer.max(numInputs) | ตัวลดตำแหน่ง |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
numInputs | จำนวนเต็ม ค่าเริ่มต้น: 1 | จำนวนอินพุต |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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. |"]]