お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.Image.visualize
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
画像の RGB またはグレースケールの可視化を生成します。ゲイン、バイアス、最小値、最大値、ガンマの各引数には、すべてのバンドに適用される単一の値、またはバンドと同じ長さの値のリストを指定できます。
用途 | 戻り値 |
---|
Image.visualize(bands, gain, bias, min, max, gamma, opacity, palette, forceRgbOutput) | 画像 |
引数 | タイプ | 詳細 |
---|
これ: image | 画像 | 可視化する画像。 |
bands | オブジェクト、デフォルト: null | 可視化するバンドのリスト。空の場合、最初の 3 つが使用されます。 |
gain | オブジェクト、デフォルト: null | 使用するビジュアリゼーションのゲイン。 |
bias | オブジェクト、デフォルト: null | 使用するビジュアリゼーション バイアス。 |
min | オブジェクト、デフォルト: null | RGB8 値 0 にマッピングする値。 |
max | オブジェクト、デフォルト: null | RGB8 値 255 にマッピングする値。 |
gamma | オブジェクト、デフォルト: null | 使用するガンマ補正係数。 |
opacity | 数値、デフォルト: null | 使用する不透明度スケーリング ファクタ。 |
palette | オブジェクト、デフォルト: null | 使用するカラーパレット。CSS カラー識別子または 16 進数カラー文字列のリスト(例: ['red', '00FF00', 'blueviolet'])。 |
forceRgbOutput | ブール値。デフォルト値は false です。 | 単一バンドの入力に対しても RGB 出力を生成するかどうか。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eVisualizes an image in RGB or grayscale by adjusting gain, bias, min/max values, and gamma correction for specified or default bands.\u003c/p\u003e\n"],["\u003cp\u003eAccepts single values or lists for gain, bias, min, max, and gamma to apply to all or individual bands, respectively.\u003c/p\u003e\n"],["\u003cp\u003eOffers customization options including opacity, a color palette for multi-band visualization, and forced RGB output.\u003c/p\u003e\n"],["\u003cp\u003eUses a list of CSS color identifiers or hexadecimal color strings for the palette parameter when visualizing multi-band images.\u003c/p\u003e\n"],["\u003cp\u003eOperates on an input image and returns a modified image with the specified visualization parameters applied.\u003c/p\u003e\n"]]],["The `Image.visualize` function generates an RGB or grayscale image visualization. It accepts arguments like `gain`, `bias`, `min`, `max`, and `gamma`, which can be applied to all bands or to individual bands specified in a list. Users can select specific `bands` to visualize or use the first three by default. The `opacity` controls scaling, and a `palette` allows for color customization. `forceRgbOutput` enables RGB output for single-band images.\n"],null,["# ee.Image.visualize\n\nProduces an RGB or grayscale visualization of an image. Each of the gain, bias, min, max and gamma arguments can take either a single value, which will be applied to all bands, or a list of values the same length as bands.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------------------------------------------------------------------------------------------------------------------|---------|\n| Image.visualize`(`*bands* `, `*gain* `, `*bias* `, `*min* `, `*max* `, `*gamma* `, `*opacity* `, `*palette* `, `*forceRgbOutput*`)` | Image |\n\n| Argument | Type | Details |\n|------------------|-------------------------|---------------------------------------------------------------------------------------------------------------------------------|\n| this: `image` | Image | The image to visualize. |\n| `bands` | Object, default: null | A list of the bands to visualize. If empty, the first 3 are used. |\n| `gain` | Object, default: null | The visualization gain(s) to use. |\n| `bias` | Object, default: null | The visualization bias(es) to use. |\n| `min` | Object, default: null | The value(s) to map to RGB8 value 0. |\n| `max` | Object, default: null | The value(s) to map to RGB8 value 255. |\n| `gamma` | Object, default: null | The gamma correction factor(s) to use. |\n| `opacity` | Number, default: null | The opacity scaling factor to use. |\n| `palette` | Object, default: null | The color palette to use. List of CSS color identifiers or hexadecimal color strings (e.g., \\['red', '00FF00', 'blueviolet'\\]). |\n| `forceRgbOutput` | Boolean, default: false | Whether to produce RGB output even for single-band inputs. |"]]