ঘোষণা :
15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য
অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
ee.Image.displacement
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
স্থানীয়, রাবার শীট বিকৃতির অনুমতি দেওয়ার সময় একটি রেফারেন্স ছবিতে একটি চিত্র নিবন্ধন করার জন্য প্রয়োজনীয় স্থানচ্যুতি নির্ধারণ করে। স্থানচ্যুতিগুলি রেফারেন্স ইমেজের CRS-এ গণনা করা হয়, নিম্নোক্ত তিনটি প্রজেকশনের সর্বনিম্ন রেজোলিউশন দ্বারা নির্ধারিত একটি স্কেলে: ইনপুট ইমেজ প্রজেকশন, রেফারেন্স ইমেজ প্রজেকশন এবং অনুরোধকৃত প্রজেকশন। স্থানচ্যুতিগুলি তখন আউটপুটের জন্য ব্যবহারকারী-নির্দিষ্ট অভিক্ষেপে রূপান্তরিত হয়।
ব্যবহার | রিটার্নস | Image. displacement (referenceImage, maxOffset, projection , patchWidth , stiffness ) | ছবি |
যুক্তি | টাইপ | বিস্তারিত | এই: image | ছবি | ছবি নিবন্ধন. |
referenceImage | ছবি | যে ছবিটিতে নিবন্ধন করতে হবে। |
maxOffset | ভাসা | ইনপুট চিত্রগুলিকে মিটারে সারিবদ্ধ করার চেষ্টা করার সময় সর্বাধিক অফসেট অনুমোদিত৷ একটি ছোট মান ব্যবহার করা গণনার সময়কে উল্লেখযোগ্যভাবে হ্রাস করতে পারে, তবে এটি এখনও সম্পূর্ণ চিত্র অঞ্চলের মধ্যে সর্বাধিক স্থানচ্যুতি কভার করার জন্য যথেষ্ট বড় হতে হবে। |
projection | অভিক্ষেপ, ডিফল্ট: নাল | অভিক্ষেপ যেখানে স্থানচ্যুতি মান আউটপুট। ডিফল্ট হল রেফারেন্স ইমেজের প্রথম ব্যান্ডের অভিক্ষেপ। |
patchWidth | ফ্লোট, ডিফল্ট: নাল | মিটারে চিত্র অফসেট সনাক্ত করার জন্য প্যাচের আকার। টেক্সচার ক্যাপচার করার জন্য এটি যথেষ্ট বড় সেট করা উচিত, সেইসাথে প্যাচের মধ্যে উপেক্ষাযোগ্য বস্তুগুলি ছোট হওয়ার জন্য যথেষ্ট বড়। ডিফল্ট শূন্য. প্যাচ আকার স্বয়ংক্রিয়ভাবে নির্ধারিত হবে যদি প্রদান না করা হয়. |
stiffness | ফ্লোট, ডিফল্ট: 5 | সমাধানের উপর কঠোরতা সীমাবদ্ধতা প্রয়োগ করে। বৈধ মান পরিসীমা [0,10]. সংলগ্ন গ্রিড পয়েন্টে স্থানচ্যুতি নির্ধারণ করার সময় আউটলিয়ার প্রত্যাখ্যানের জন্য কঠোরতা ব্যবহার করা হয়। উচ্চতর মান সমাধানকে একটি অনমনীয় রূপান্তরের দিকে নিয়ে যায়। নিম্ন মান রেজিস্ট্রেশনের সময় চিত্রের আরও বিকৃতি বা বিকৃত করার অনুমতি দেয়। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThis method calculates the displacements needed to align an image with a reference image, allowing for localized, flexible deformations.\u003c/p\u003e\n"],["\u003cp\u003eDisplacements are determined in the reference image's coordinate system and at a resolution based on the input, reference, and requested projections.\u003c/p\u003e\n"],["\u003cp\u003eUsers can specify a maximum offset for alignment, a projection for outputting displacements, a patch size for offset detection, and a stiffness parameter to control deformation.\u003c/p\u003e\n"],["\u003cp\u003eThe output is an image containing the calculated displacement values, which can be used to warp or transform the input image to match the reference image.\u003c/p\u003e\n"],["\u003cp\u003eUsing a smaller \u003ccode\u003emaxOffset\u003c/code\u003e value can speed up computation but must be sufficient to cover the largest displacement within the image.\u003c/p\u003e\n"]]],[],null,["# ee.Image.displacement\n\nDetermines displacements required to register 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 are then transformed into the user-specified projection for output.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------------------------------------------------------------------------------|---------|\n| Image.displacement`(referenceImage, maxOffset, `*projection* `, `*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| `projection` | Projection, default: null | The projection in which to output displacement values. The default is the projection of the first band of the reference image. |\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 not provided. |\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. |"]]