ee.Image.rsedTransform
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ระยะทางแบบยุคลิดยกกำลังสองแบบย้อนกลับ (RSED) จะคำนวณพื้นผิวความสูงสูงสุดแบบ 2 มิติที่สร้างขึ้นโดยการวางพาราโบลาที่กลับด้านเหนือแต่ละพิกเซลที่ไม่ใช่ 0 ของรูปภาพอินพุต โดยค่าของพิกเซลคือความสูงของพาราโบลา เมื่อมองว่าเป็นรูปภาพไบนารี (0/ไม่ใช่ 0) การดำเนินการนี้จะเทียบเท่ากับการบัฟเฟอร์พิกเซลอินพุตที่ไม่ใช่ 0 แต่ละพิกเซลด้วยรากที่สองของค่าในหน่วยพิกเซล
การใช้งาน | การคืนสินค้า |
---|
Image.rsedTransform(neighborhood, units) | รูปภาพ |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ image | รูปภาพ | รูปภาพที่อินพุตเข้ามา |
neighborhood | จำนวนเต็ม ค่าเริ่มต้น: 256 | ขนาดพื้นที่ใกล้เคียงในหน่วยพิกเซล |
units | สตริง ค่าเริ่มต้น: "พิกเซล" | หน่วยของย่าน ปัจจุบันรองรับเฉพาะ "พิกเซล" |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eRSED generates a height map by placing inverted parabolas over each non-zero pixel in an image, with parabola height corresponding to pixel value.\u003c/p\u003e\n"],["\u003cp\u003eThis transformation effectively buffers non-zero pixels by the square root of their value, creating a smoothed, expanded representation of the original image.\u003c/p\u003e\n"],["\u003cp\u003eIt's implemented through the \u003ccode\u003ersedTransform\u003c/code\u003e method with adjustable neighborhood size, impacting the extent of buffering.\u003c/p\u003e\n"]]],["Reverse Squared Euclidean Distance (RSED) creates a 2D surface by placing inverted parabolas over non-zero pixels in an image, with pixel values determining parabola heights. It's analogous to buffering each non-zero pixel by the square root of its value. The `Image.rsedTransform` function takes an input image and computes the RSED transform. The function requires `neighborhood` size in pixels (default 256) and supports `\"pixels\"` as `units`. It returns the transformed `Image`.\n"],null,["# ee.Image.rsedTransform\n\nReverse Squared Euclidean Distance (RSED) computes the 2D maximal height surface created by placing an inverted parabola over each non-zero pixel of the input image, where the pixel's value is the height of the parabola. Viewed as a binary image (zero/not-zero) this is equivalent to buffering each non-zero input pixel by the square root of its value, in pixels.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------|---------|\n| Image.rsedTransform`(`*neighborhood* `, `*units*`)` | Image |\n\n| Argument | Type | Details |\n|----------------|---------------------------|-----------------------------------------------------------------------|\n| this: `image` | Image | The input image. |\n| `neighborhood` | Integer, default: 256 | Neighborhood size in pixels. |\n| `units` | String, default: \"pixels\" | The units of the neighborhood, currently only 'pixels' are supported. |"]]