ee.Image.randomVisualizer
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Tworzy obraz wizualizacji, przypisując losowy kolor do każdej unikalnej wartości pikseli pierwszego pasma. Pierwsze 3 pasma obrazu wyjściowego będą zawierać 8-bitowe wartości R, G i B, a następnie wszystkie pasma obrazu wejściowego.
Wykorzystanie | Zwroty |
---|
Image.randomVisualizer() | Obraz |
Argument | Typ | Szczegóły |
---|
to: image | Obraz | Obraz z co najmniej 1 zakresem. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]