お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.Image.register
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ローカルのラバーシート変形を許可しながら、画像をリファレンス画像に登録します。変位は、入力画像の投影、参照画像の投影、リクエストされた投影の 3 つの投影の最小解像度で指定されたスケールで、参照画像の CRS で計算されます。次に、この変位を入力画像に適用して、参照画像に登録します。
用途 | 戻り値 |
---|
Image.register(referenceImage, maxOffset, patchWidth, stiffness) | 画像 |
引数 | タイプ | 詳細 |
---|
これ: image | 画像 | 登録する画像。 |
referenceImage | 画像 | 登録する画像。 |
maxOffset | 浮動小数点数 | 入力画像を整列させようとしたときに許容される最大オフセット(メートル単位)。値を小さくすると計算時間を大幅に短縮できますが、画像領域全体の最大変位をカバーできる大きさにする必要があります。 |
patchWidth | 浮動小数点数、デフォルト: null | 画像のオフセットを検出するためのパッチサイズ(メートル単位)。テクスチャをキャプチャするのに十分な大きさで、無視できるオブジェクトがパッチ内で小さくなるのに十分な大きさである必要があります。デフォルトは null です。指定しない場合、パッチサイズは自動的に決定されます。 |
stiffness | 浮動小数点数、デフォルト: 5 | 解に剛性制約を適用します。有効な値は [0,10] の範囲内です。剛性は、隣接するグリッド ポイントでの変位を決定する際に外れ値を除外するために使用されます。値が大きいほど、ソリューションはリジッド変換に近づきます。値が小さいほど、登録時の画像の歪みやゆがみが大きくなります。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eRegisters an image to a reference image using local, rubber sheet deformations, allowing for flexible alignment.\u003c/p\u003e\n"],["\u003cp\u003eDisplacements are calculated in the reference image's Coordinate Reference System (CRS) and scaled based on the lowest resolution among the input, reference, and requested projections.\u003c/p\u003e\n"],["\u003cp\u003eUsers can control the maximum allowed offset for alignment and optionally specify patch size and stiffness for fine-tuning the registration process.\u003c/p\u003e\n"],["\u003cp\u003eThe function returns a registered image aligned with the reference image based on the computed displacements.\u003c/p\u003e\n"]]],["The `register` function aligns an input image to a reference image, accommodating local deformations. It computes displacements in the reference image's coordinate system at the lowest resolution of the input, reference, and requested projections. Key parameters include `maxOffset` (maximum allowed displacement), `patchWidth` (patch size for offset detection), and `stiffness` (controls image warping). The function then applies the computed displacements to the input image, returning the registered image.\n"],null,["# ee.Image.register\n\nRegisters an image to a reference image while allowing local, rubber sheet deformations. Displacements are computed in the CRS of the reference image, at a scale dictated by the lowest resolution of the following three projections: input image projection, reference image projection, and requested projection. The displacements then applied to the input image to register it with the reference.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------------------------|---------|\n| Image.register`(referenceImage, maxOffset, `*patchWidth* `, `*stiffness*`)` | Image |\n\n| Argument | Type | Details |\n|------------------|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `image` | Image | The image to register. |\n| `referenceImage` | Image | The image to register to. |\n| `maxOffset` | Float | The maximum offset allowed when attempting to align the input images, in meters. Using a smaller value can reduce computation time significantly, but it must still be large enough to cover the greatest displacement within the entire image region. |\n| `patchWidth` | Float, default: null | Patch size for detecting image offsets, in meters. This should be set large enough to capture texture, as well as large enough that ignorable objects are small within the patch. Default is null. Patch size will be determined automatically if notprovided. |\n| `stiffness` | Float, default: 5 | Enforces a stiffness constraint on the solution. Valid values are in the range \\[0,10\\]. The stiffness is used for outlier rejection when determining displacements at adjacent grid points. Higher values move the solution towards a rigid transformation. Lower values allow more distortion or warping of the image during registration. |"]]