ee.Model.predictImage
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.
Đưa ra dự đoán từ các ô pixel của một hình ảnh. Các dự đoán được hợp nhất dưới dạng các dải với hình ảnh đầu vào.
Mô hình sẽ nhận được các số 0 thay cho các pixel bị che. Mặt nạ của các dải đầu ra được dự đoán là giá trị tối thiểu của mặt nạ đầu vào.
Cách sử dụng | Giá trị trả về |
---|
Model.predictImage(image) | Hình ảnh |
Đối số | Loại | Thông tin chi tiết |
---|
this: model | Mô hình | |
image | Hình ảnh | Hình ảnh đầu vào. |
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\u003ePredicts pixel values within image tiles and integrates these predictions as new bands into the original image.\u003c/p\u003e\n"],["\u003cp\u003eAccepts images with masked pixels, representing them as 0 values, and generates output masks based on input masks.\u003c/p\u003e\n"],["\u003cp\u003eOffers a \u003ccode\u003epredictImage\u003c/code\u003e function that takes an image as input and returns an image with the predicted bands.\u003c/p\u003e\n"]]],["The model predicts pixel values from an input image, merging these predictions as new bands within the image. Masked pixels in the input are treated as 0s. The output bands' masks are determined by taking the minimum mask of the input bands. The `predictImage` function takes an `image` as input and returns a modified `image` with the new predicted bands.\n"],null,["# ee.Model.predictImage\n\nMake predictions from pixel tiles of an image. The predictions are merged as bands with the input image.\n\n\u003cbr /\u003e\n\nThe model will receive 0s in place of masked pixels. The masks of predicted output bands are the minimum of the masks of the inputs.\n\n| Usage | Returns |\n|-----------------------------|---------|\n| Model.predictImage`(image)` | Image |\n\n| Argument | Type | Details |\n|---------------|-------|------------------|\n| this: `model` | Model | |\n| `image` | Image | The input image. |"]]