ee.FeatureCollection.inverseDistance
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.
Trả về giá trị ước tính được tính theo khoảng cách nghịch đảo có trọng số của giá trị tại mỗi pixel.
Cách sử dụng | Giá trị trả về |
---|
FeatureCollection.inverseDistance(range, propertyName, mean, stdDev, gamma, reducer) | Hình ảnh |
Đối số | Loại | Thông tin chi tiết |
---|
this: collection | FeatureCollection | Tập hợp đối tượng địa lý dùng làm dữ liệu nguồn để ước tính. |
range | Số thực dấu phẩy động | Kích thước của cửa sổ nội suy (tính bằng mét). |
propertyName | Chuỗi | Tên của thuộc tính số cần được ước tính. |
mean | Số thực dấu phẩy động | Giá trị trung bình dự kiến trên toàn cầu. |
stdDev | Số thực dấu phẩy động | Độ lệch chuẩn toàn cầu. |
gamma | Số thực, mặc định: 1 | Xác định tốc độ mà các giá trị ước tính có xu hướng tiến đến giá trị trung bình toàn cầu. |
reducer | Tấm dốc, mặc định: null | Trình giảm được dùng để thu gọn giá trị "propertyName" của các điểm trùng lặp thành một giá trị duy nhất. |
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\u003eEstimates pixel values using an inverse-distance weighting method based on nearby features within a specified range.\u003c/p\u003e\n"],["\u003cp\u003eTakes a FeatureCollection as input and outputs an Image containing the estimated values for each pixel.\u003c/p\u003e\n"],["\u003cp\u003eAllows customization of the estimation through parameters like global mean, standard deviation, and a gamma factor that controls the influence of the global mean.\u003c/p\u003e\n"],["\u003cp\u003eUsers can provide a reducer to handle overlapping points and aggregate their property values during the estimation process.\u003c/p\u003e\n"],["\u003cp\u003eThe pixel values are derived from the 'propertyName' specified in the input FeatureCollection.\u003c/p\u003e\n"]]],["The function calculates an inverse-distance weighted estimate for each pixel's value. It uses a `FeatureCollection` as source data, specifying a numeric `propertyName` to estimate. The `range` defines the interpolation window's size. A global `mean` and `stdDev` are utilized, with `gamma` controlling the estimate's convergence toward the mean. Overlapping points can be handled using a provided `reducer`. The function outputs an `Image` of estimated values.\n"],null,["# ee.FeatureCollection.inverseDistance\n\nReturns an inverse-distance weighted estimate of the value at each pixel.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------------------------------------------------------------------------------|---------|\n| FeatureCollection.inverseDistance`(range, propertyName, mean, stdDev, `*gamma* `, `*reducer*`)` | Image |\n\n| Argument | Type | Details |\n|--------------------|------------------------|----------------------------------------------------------------------------------------------|\n| this: `collection` | FeatureCollection | Feature collection to use as source data for the estimation. |\n| `range` | Float | Size of the interpolation window (in meters). |\n| `propertyName` | String | Name of the numeric property to be estimated. |\n| `mean` | Float | Global expected mean. |\n| `stdDev` | Float | Global standard deviation. |\n| `gamma` | Float, default: 1 | Determines how quickly the estimates tend towards the global mean. |\n| `reducer` | Reducer, default: null | Reducer used to collapse the 'propertyName' value of overlapping points into a single value. |"]]