ee.Image.focalMin
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ใช้ตัวกรอง morphologicalReducer() กับแต่ละแบนด์ของรูปภาพโดยใช้เคอร์เนลที่มีชื่อหรือเคอร์เนลที่กำหนดเอง
การใช้งาน | การคืนสินค้า |
---|
Image.focalMin(radius, kernelType, units, iterations, kernel) | รูปภาพ |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ image | รูปภาพ | รูปภาพที่จะใช้การดำเนินการ |
radius | ลอย ค่าเริ่มต้น: 1.5 | รัศมีของเคอร์เนลที่จะใช้ |
kernelType | String, ค่าเริ่มต้น: "circle" | ประเภทของเคอร์เนลที่จะใช้ ตัวเลือก ได้แก่ "วงกลม" "สี่เหลี่ยมจัตุรัส" "กากบาท" "บวก" "แปดเหลี่ยม" และ "สี่เหลี่ยมข้าวหลามตัด" |
units | สตริง ค่าเริ่มต้น: "พิกเซล" | หากไม่ได้ระบุเคอร์เนลไว้ พารามิเตอร์นี้จะกำหนดว่าเคอร์เนลอยู่ในหน่วยเมตรหรือพิกเซล |
iterations | จำนวนเต็ม ค่าเริ่มต้น: 1 | จำนวนครั้งที่จะใช้เคอร์เนลที่ระบุ |
kernel | เคอร์เนล ค่าเริ่มต้น: null | เคอร์เนลที่กำหนดเอง หากใช้ ระบบจะไม่สนใจ kernelType และรัศมี |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eApplies a morphological reducer, \u003ccode\u003efocalMin()\u003c/code\u003e, to each band of an image.\u003c/p\u003e\n"],["\u003cp\u003eUses a kernel specified by type ('circle', 'square', etc.), radius, and units (pixels or meters) to define the neighborhood for reduction.\u003c/p\u003e\n"],["\u003cp\u003eAllows custom kernels to override default kernel settings for more specialized operations.\u003c/p\u003e\n"],["\u003cp\u003eOptionally, performs the reduction multiple times using the \u003ccode\u003eiterations\u003c/code\u003e parameter.\u003c/p\u003e\n"],["\u003cp\u003eReturns a new image with the filter applied.\u003c/p\u003e\n"]]],["The `focalMin()` function applies a morphological reducer filter to each image band. It utilizes either a predefined kernel type (circle, square, etc.) or a user-defined kernel. Key actions include specifying the kernel's radius, type, units (pixels or meters), and iterations. The function can also utilize a custom kernel, in which case the kernel type and radius are disregarded. The output is an image with the filter applied.\n"],null,["# ee.Image.focalMin\n\nApplies a morphological reducer() filter to each band of an image using a named or custom kernel.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------------------------------------|---------|\n| Image.focalMin`(`*radius* `, `*kernelType* `, `*units* `, `*iterations* `, `*kernel*`)` | Image |\n\n| Argument | Type | Details |\n|---------------|---------------------------|------------------------------------------------------------------------------------------------------------|\n| this: `image` | Image | The image to which to apply the operations. |\n| `radius` | Float, default: 1.5 | The radius of the kernel to use. |\n| `kernelType` | String, default: \"circle\" | The type of kernel to use. Options include: 'circle', 'square', 'cross', 'plus', 'octagon', and 'diamond'. |\n| `units` | String, default: \"pixels\" | If a kernel is not specified, this determines whether the kernel is in meters or pixels. |\n| `iterations` | Integer, default: 1 | The number of times to apply the given kernel. |\n| `kernel` | Kernel, default: null | A custom kernel. If used, kernelType and radius are ignored. |"]]