ee.ImageCollection.or
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ลดคอลเล็กชันรูปภาพโดยตั้งค่าแต่ละพิกเซลเป็น 1 หากและต่อเมื่อค่าที่ไม่มาสก์ที่พิกเซลนั้นเป็นค่าที่ไม่ใช่ 0 ในกองซ้อนของแถบที่ตรงกันทั้งหมด ระบบจะจับคู่วงดนตรีตามชื่อ
การใช้งาน | การคืนสินค้า |
---|
ImageCollection.or() | รูปภาพ |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ collection | ImageCollection | คอลเล็กชันรูปภาพที่จะลด |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[null,null,["อัปเดตล่าสุด 2025-07-27 UTC"],[[["\u003cp\u003eReduces an image collection to a single image where pixels are set to 1 if any corresponding non-masked pixel in the collection is non-zero.\u003c/p\u003e\n"],["\u003cp\u003eBand matching across images within the collection is based on band names for pixel comparison.\u003c/p\u003e\n"],["\u003cp\u003eThe reduction process considers only non-masked pixel values, ignoring masked areas in the input image collection.\u003c/p\u003e\n"],["\u003cp\u003eThis operation is accessible through the \u003ccode\u003eImageCollection.or()\u003c/code\u003e method and returns a single image as its output.\u003c/p\u003e\n"]]],[],null,["# ee.ImageCollection.or\n\nReduces an image collection by setting each pixel to 1 if and only if any of the non-masked values at that pixel are non-zero across the stack of all matching bands. Bands are matched by name.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------|---------|\n| ImageCollection.or`()` | Image |\n\n| Argument | Type | Details |\n|--------------------|-----------------|---------------------------------|\n| this: `collection` | ImageCollection | The image collection to reduce. |"]]