お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.Image.unitScale
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
入力値の範囲 [low, high] が [0, 1] になるように入力をスケーリングします。範囲外の値は固定されません。このアルゴリズムは常に浮動小数点ピクセルを生成します。
用途 | 戻り値 |
---|
Image.unitScale(low, high) | 画像 |
引数 | タイプ | 詳細 |
---|
これ: input | 画像 | スケーリングする画像。 |
low | 浮動小数点数 | 0 にマッピングされた値。 |
high | 浮動小数点数 | 1 にマッピングされた値。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eScales image pixel values to a range of 0 to 1, mapping input value \u003ccode\u003elow\u003c/code\u003e to 0 and \u003ccode\u003ehigh\u003c/code\u003e to 1.\u003c/p\u003e\n"],["\u003cp\u003eValues outside the specified \u003ccode\u003elow\u003c/code\u003e and \u003ccode\u003ehigh\u003c/code\u003e range are not clamped and will be scaled accordingly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eunitScale\u003c/code\u003e algorithm always outputs an image with floating point pixel values.\u003c/p\u003e\n"],["\u003cp\u003eThe original image is used as input and a new scaled image is returned.\u003c/p\u003e\n"]]],["The `unitScale` method scales an image's pixel values. It maps the input range between `low` and `high` to the output range of 0 to 1. The method takes the input image, `low` (the value that becomes 0), and `high` (the value that becomes 1) as arguments. Values outside the specified range are not restricted. The result of the process is a floating-point image.\n"],null,["# ee.Image.unitScale\n\nScales the input so that the range of input values \\[low, high\\] becomes \\[0, 1\\]. Values outside the range are NOT clamped. This algorithm always produces floating point pixels.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------------|---------|\n| Image.unitScale`(low, high)` | Image |\n\n| Argument | Type | Details |\n|---------------|-------|------------------------|\n| this: `input` | Image | The image to scale. |\n| `low` | Float | The value mapped to 0. |\n| `high` | Float | The value mapped to 1. |"]]