お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.Image.displace
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
変位の画像を使用して画像をワープします。
用途 | 戻り値 |
---|
Image.displace(displacement, mode, maxOffset) | 画像 |
引数 | タイプ | 詳細 |
---|
これ: image | 画像 | ワープする画像。 |
displacement | 画像 | 変位値を含む画像。最初のバンドは X 変位、2 番目のバンドは Y 変位として解釈されます。各変位ピクセルは、[dx,dy] ベクトルで、ピクセルの位置に追加され、'image' 内の対応するピクセルの位置を決定します。変位は、変位画像のデフォルトの投影でメートル単位で解釈されます。 |
mode | 文字列、デフォルト: 「bicubic」 | 使用する補間モード。「nearest_neighbor」、「bilinear」、「bicubic」のいずれか。 |
maxOffset | 浮動小数点数、デフォルト: null | 変位画像の最大絶対オフセット。指定すると、処理のパフォーマンスが向上する可能性があります。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eWarps an image using a displacement image, where pixel values in the displacement image represent the shift in position for the corresponding pixels in the original image.\u003c/p\u003e\n"],["\u003cp\u003eThe displacement image contains two bands, representing the X and Y displacement values for each pixel in the original image.\u003c/p\u003e\n"],["\u003cp\u003eUsers can control the interpolation mode for warping, choosing from options such as 'nearest_neighbor', 'bilinear', or 'bicubic'.\u003c/p\u003e\n"],["\u003cp\u003eOptionally, users can specify a maximum offset value for performance optimization during the warping process.\u003c/p\u003e\n"]]],[],null,["# ee.Image.displace\n\nWarps an image using an image of displacements.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------------------------------|---------|\n| Image.displace`(displacement, `*mode* `, `*maxOffset*`)` | Image |\n\n| Argument | Type | Details |\n|----------------|----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `image` | Image | The image to warp. |\n| `displacement` | Image | An image containing displacement values. The first band is interpreted as the 'X' displacement and the second as the 'Y' displacement. Each displacement pixel is a \\[dx,dy\\] vector added to the pixel location to determine the corresponding pixel location in 'image'. Displacements are interpreted as meters in the default projection of the displacement image. |\n| `mode` | String, default: \"bicubic\" | The interpolation mode to use. One of 'nearest_neighbor', 'bilinear', or 'bicubic'. |\n| `maxOffset` | Float, default: null | The maximum absolute offset in the displacement image. Providing this may improve processing performance. |"]]