ee.Image.register
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
یک تصویر را در تصویر مرجع ثبت میکند و در عین حال تغییر شکلهای محلی ورق لاستیکی را ممکن میسازد. جابهجاییها در CRS تصویر مرجع، در مقیاسی که با کمترین وضوح از سه پیشنمایش زیر دیکته میشود، محاسبه میشوند: طرحریزی تصویر ورودی، پیشبینی تصویر مرجع، و طرح درخواستی. سپس جابجایی ها روی تصویر ورودی اعمال می شود تا آن را با مرجع ثبت کند.
استفاده | برمی گرداند | Image. register (referenceImage, maxOffset, patchWidth , stiffness ) | تصویر |
استدلال | تایپ کنید | جزئیات | این: image | تصویر | تصویر برای ثبت نام |
referenceImage | تصویر | تصویر برای ثبت نام |
maxOffset | شناور | حداکثر افست مجاز هنگام تلاش برای تراز کردن تصاویر ورودی، بر حسب متر. استفاده از یک مقدار کوچکتر می تواند زمان محاسبات را به میزان قابل توجهی کاهش دهد، اما همچنان باید آنقدر بزرگ باشد که بیشترین جابجایی را در کل منطقه تصویر پوشش دهد. |
patchWidth | شناور، پیش فرض: null | اندازه پچ برای تشخیص انحراف تصویر، بر حسب متر. این باید به اندازه کافی بزرگ تنظیم شود تا بافت را به تصویر بکشد، و همچنین به اندازه کافی بزرگ باشد که اشیاء نادیده گرفته شده در وصله کوچک باشند. پیش فرض صفر است. اندازه پچ در صورت عدم ارائه به صورت خودکار تعیین می شود. |
stiffness | شناور، پیش فرض: 5 | محدودیت سختی را بر محلول اعمال می کند. مقادیر معتبر در محدوده [0،10] قرار دارند. سفتی برای رد بیرونی هنگام تعیین جابجایی در نقاط شبکه مجاور استفاده می شود. مقادیر بالاتر راه حل را به سمت یک تبدیل صلب حرکت می دهد. مقادیر پایین تر امکان اعوجاج یا تاب برداشتن تصویر را در حین ثبت نام فراهم می کند. |
،یک تصویر را در تصویر مرجع ثبت میکند و در عین حال تغییر شکلهای محلی ورق لاستیکی را ممکن میسازد. جابهجاییها در CRS تصویر مرجع، در مقیاسی که با کمترین وضوح از سه پیشنمایش زیر دیکته میشود، محاسبه میشوند: طرحریزی تصویر ورودی، پیشبینی تصویر مرجع، و طرح درخواستی. سپس جابجایی ها روی تصویر ورودی اعمال می شود تا آن را با مرجع ثبت کند.
استفاده | برمی گرداند | Image. register (referenceImage, maxOffset, patchWidth , stiffness ) | تصویر |
استدلال | تایپ کنید | جزئیات | این: image | تصویر | تصویر برای ثبت نام |
referenceImage | تصویر | تصویر برای ثبت نام |
maxOffset | شناور | حداکثر افست مجاز هنگام تلاش برای تراز کردن تصاویر ورودی، بر حسب متر. استفاده از یک مقدار کوچکتر می تواند زمان محاسبات را به میزان قابل توجهی کاهش دهد، اما همچنان باید آنقدر بزرگ باشد که بیشترین جابجایی را در کل منطقه تصویر پوشش دهد. |
patchWidth | شناور، پیش فرض: null | اندازه پچ برای تشخیص انحراف تصویر، بر حسب متر. این باید به اندازه کافی بزرگ تنظیم شود تا بافت را به تصویر بکشد، و همچنین به اندازه کافی بزرگ باشد که اشیاء نادیده گرفته شده در وصله کوچک باشند. پیش فرض صفر است. اندازه پچ در صورت عدم ارائه به صورت خودکار تعیین می شود. |
stiffness | شناور، پیش فرض: 5 | محدودیت سختی را بر محلول اعمال می کند. مقادیر معتبر در محدوده [0،10] قرار دارند. سفتی برای رد بیرونی هنگام تعیین جابجایی در نقاط شبکه مجاور استفاده می شود. مقادیر بالاتر راه حل را به سمت یک تبدیل صلب حرکت می دهد. مقادیر پایین تر امکان اعوجاج یا تاب برداشتن تصویر را در حین ثبت نام فراهم می کند. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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. |"]]