ee.Image.rsedTransform
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Khoảng cách Euclidean bình phương nghịch đảo (RSED) tính toán bề mặt chiều cao tối đa 2D được tạo bằng cách đặt một parabol đảo ngược lên mỗi điểm ảnh khác 0 của hình ảnh đầu vào, trong đó giá trị của điểm ảnh là chiều cao của parabol. Khi xem dưới dạng hình ảnh nhị phân (bằng 0/không bằng 0), thao tác này tương đương với việc đệm mỗi pixel đầu vào không bằng 0 theo căn bậc hai của giá trị (tính bằng pixel).
Cách sử dụng | Giá trị trả về |
---|
Image.rsedTransform(neighborhood, units) | Hình ảnh |
Đối số | Loại | Thông tin chi tiết |
---|
this: image | Hình ảnh | Hình ảnh đầu vào. |
neighborhood | Số nguyên, mặc định: 256 | Kích thước vùng lân cận tính bằng pixel. |
units | Chuỗi, mặc định: "pixels" | Đơn vị của vùng lân cận, hiện chỉ hỗ trợ "pixel". |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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. |"]]