Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum
15 April 2025 harus
memverifikasi kelayakan nonkomersial untuk mempertahankan akses Earth Engine.
ee.Model.predictImage
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Buat prediksi dari petak piksel gambar. Prediksi digabungkan sebagai rentang dengan gambar input.
Model akan menerima angka 0 sebagai pengganti piksel yang ditutupi. Masker band output yang diprediksi adalah minimum dari masker input.
Penggunaan | Hasil |
---|
Model.predictImage(image) | Gambar |
Argumen | Jenis | Detail |
---|
ini: model | Model | |
image | Gambar | Gambar input. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 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. |"]]