Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum
15 April 2025 harus
memverifikasi kelayakan nonkomersial untuk mempertahankan akses Earth Engine.
ee.Image.randomVisualizer
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Membuat gambar visualisasi dengan menetapkan warna acak ke setiap nilai unik piksel band pertama. Tiga band pertama gambar output akan berisi nilai R, G, dan B 8-bit, diikuti oleh semua band gambar input.
Penggunaan | Hasil |
---|
Image.randomVisualizer() | Gambar |
Argumen | Jenis | Detail |
---|
ini: image | Gambar | Gambar dengan minimal satu band. |
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\u003eGenerates a visualization by assigning random colors to unique pixel values in the first band of an image.\u003c/p\u003e\n"],["\u003cp\u003eThe resulting image includes red, green, and blue bands derived from these random colors, followed by all original image bands.\u003c/p\u003e\n"],["\u003cp\u003eThis visualization tool helps in understanding the distribution and patterns of pixel values within an image.\u003c/p\u003e\n"]]],["The function `randomVisualizer()` generates a visualization image from an input image. It assigns a random color to each unique pixel value in the first band. The output image's first three bands store 8-bit Red, Green, and Blue values representing these colors. Remaining bands in the output mirror the input image's bands. It operates on an `Image` with at least one band and returns a modified `Image`.\n"],null,["# ee.Image.randomVisualizer\n\nCreates a visualization image by assigning a random color to each unique value of the pixels of the first band. The first three bands of the output image will contain 8-bit R, G and B values, followed by all bands of the input image.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------|---------|\n| Image.randomVisualizer`()` | Image |\n\n| Argument | Type | Details |\n|---------------|-------|-------------------------------|\n| this: `image` | Image | Image with at least one band. |"]]