ee.Algorithms.Image.Segmentation.seedGrid
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เลือกพิกเซลเริ่มต้นสำหรับการจัดกลุ่ม
การใช้งาน | การคืนสินค้า |
---|
ee.Algorithms.Image.Segmentation.seedGrid(size, gridType) | รูปภาพ |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
size | จำนวนเต็ม ค่าเริ่มต้น: 5 | ระยะห่างของตำแหน่งเริ่มต้นของ Superpixel ในหน่วยพิกเซล |
gridType | สตริง ค่าเริ่มต้น: "square" | ประเภทตารางกริด โดยอาจเป็น "square" หรือ "hex" |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eThis algorithm selects seed pixels for image segmentation using a grid-based approach.\u003c/p\u003e\n"],["\u003cp\u003eUsers can define the spacing of seed points with the \u003ccode\u003esize\u003c/code\u003e parameter and choose between square or hexagonal grid types using the \u003ccode\u003egridType\u003c/code\u003e parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe output is an image containing the selected seed pixels.\u003c/p\u003e\n"]]],["This describes a function `ee.Algorithms.Image.Segmentation.seedGrid` that generates seed pixels for image clustering. It takes two arguments: `size`, an integer determining the seed spacing in pixels (defaulting to 5), and `gridType`, a string specifying the grid shape as either \"square\" or \"hex\" (defaulting to \"square\"). The function returns an Image, which represents the grid of selected seed pixels.\n"],null,["# ee.Algorithms.Image.Segmentation.seedGrid\n\nSelects seed pixels for clustering.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------------------------------------------|---------|\n| `ee.Algorithms.Image.Segmentation.seedGrid(`*size* `, `*gridType*`)` | Image |\n\n| Argument | Type | Details |\n|------------|---------------------------|--------------------------------------------------|\n| `size` | Integer, default: 5 | The superpixel seed location spacing, in pixels. |\n| `gridType` | String, default: \"square\" | Type of grid. One of 'square' or 'hex'. |"]]