ee.Reducer.forEachBand
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สร้างตัวลดโดยการรวมสำเนาของตัวลดที่ระบุสำหรับแต่ละแบนด์ในรูปภาพที่ระบุโดยใช้ชื่อแบนด์เป็นชื่อเอาต์พุต
การใช้งาน | การคืนสินค้า |
---|
Reducer.forEachBand(image) | ตัวลดตำแหน่ง |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ reducer | ตัวลดตำแหน่ง | |
image | รูปภาพ | |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eCreates a reducer that processes each band of an image separately.\u003c/p\u003e\n"],["\u003cp\u003eOutput reducer uses the original band names for the output bands.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eforEachBand\u003c/code\u003e takes an image as input and applies the reducer to each band.\u003c/p\u003e\n"],["\u003cp\u003eThe method can be called on an existing reducer object.\u003c/p\u003e\n"]]],[],null,["# ee.Reducer.forEachBand\n\nCreates a Reducer by combining a copy of the given reducer for each band in the given image using the band names as output names.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------|---------|\n| Reducer.forEachBand`(image)` | Reducer |\n\n| Argument | Type | Details |\n|-----------------|---------|---------|\n| this: `reducer` | Reducer | |\n| `image` | Image | |"]]