ঘোষণা :
15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য
অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
ee.Algorithms.CrossCorrelation
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
দুটি (তাত্ত্বিকভাবে) সহ-নিবন্ধিত চিত্রগুলির মধ্যে চিত্র নিবন্ধনের গুণমান সম্পর্কে তথ্য দেয়। ইনপুটটি একই সংখ্যক ব্যান্ড সহ দুটি চিত্র। এই ফাংশনটি তথ্যের চারটি ব্যান্ডের সমন্বয়ে গঠিত একটি চিত্রকে আউটপুট করে। প্রথম তিনটি হল দূরত্ব: deltaX, deltaY, এবং Euclidean দূরত্ব প্রতিটি পিক্সেলের জন্য imageA থেকে পিক্সেল যার সর্বোচ্চ অনুরূপ পারস্পরিক সম্পর্ক সহগ রয়েছে imageB-তে। চতুর্থ ব্যান্ডটি সেই পিক্সেলের জন্য পারস্পরিক সম্পর্ক সহগের মান [-1 : +1]।
ব্যবহার | রিটার্নস | ee.Algorithms.CrossCorrelation(imageA, imageB, maxGap, windowSize, maxMaskedFrac ) | ছবি |
যুক্তি | টাইপ | বিস্তারিত | imageA | ছবি | প্রথম ছবি, এন ব্যান্ড সহ। |
imageB | ছবি | দ্বিতীয় চিত্র, imageA হিসাবে একই সংখ্যক ব্যান্ড থাকতে হবে। |
maxGap | পূর্ণসংখ্যা | সবচেয়ে বড় দূরত্ব একটি পিক্সেল X বা Y তে স্থানান্তরিত হতে পারে। |
windowSize | পূর্ণসংখ্যা | জানালার সাইজ তুলনা করতে হবে। |
maxMaskedFrac | ফ্লোট, ডিফল্ট: 0 | পারস্পরিক সম্পর্ক উইন্ডোর মধ্যে পিক্সেলের সর্বাধিক ভগ্নাংশ যা মাস্ক করা অনুমোদিত। এই পরীক্ষাটি অনুসন্ধান অঞ্চলের মধ্যে প্রতিটি অফসেট অবস্থানে প্রয়োগ করা হয়। প্রতিটি অফসেটের জন্য, ওভারল্যাপিং চিত্র প্যাচগুলি তুলনা করা হয় এবং একটি পারস্পরিক সম্পর্ক স্কোর গণনা করা হয়। এই ওভারল্যাপিং প্যাচগুলির মধ্যে একটি পিক্সেলকে মাস্ক করা বলে মনে করা হয় যদি প্যাচগুলির মধ্যে একটি সেখানে মাস্ক করা থাকে। সার্চ অঞ্চলের যেকোনো একক অবস্থানে পরীক্ষা ব্যর্থ হলে, যে আউটপুট পিক্সেলটির জন্য পারস্পরিক সম্পর্ক গণনা করা হচ্ছে সেটি অবৈধ বলে বিবেচিত হবে এবং মাস্ক করা হবে। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট 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\u003eDetermines the image registration quality between two images with the same number of bands by calculating pixel displacement and correlation.\u003c/p\u003e\n"],["\u003cp\u003eOutputs a four-band image representing deltaX, deltaY, Euclidean distance, and correlation coefficient for each pixel.\u003c/p\u003e\n"],["\u003cp\u003eUsers can define the maximum pixel shift (\u003ccode\u003emaxGap\u003c/code\u003e), comparison window size (\u003ccode\u003ewindowSize\u003c/code\u003e), and the allowed fraction of masked pixels (\u003ccode\u003emaxMaskedFrac\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe algorithm identifies the pixel in the second image with the highest correlation to the corresponding pixel in the first image.\u003c/p\u003e\n"],["\u003cp\u003eInvalid pixels are masked if the maximum allowed fraction of masked pixels is exceeded during correlation calculations.\u003c/p\u003e\n"]]],[],null,["# ee.Algorithms.CrossCorrelation\n\nGives information on the quality of image registration between two (theoretically) co-registered images. The input is two images with the same number of bands. This function outputs an image composed of four bands of information. The first three are distances: the deltaX, deltaY, and the Euclidean distance for each pixel in imageA to the pixel which has the highest corresponding correlation coefficient in imageB. The fourth band is the value of the correlation coefficient for that pixel \\[-1 : +1\\].\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------------------------------------|---------|\n| `ee.Algorithms.CrossCorrelation(imageA, imageB, maxGap, windowSize, `*maxMaskedFrac*`)` | Image |\n\n| Argument | Type | Details |\n|-----------------|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `imageA` | Image | First image, with N bands. |\n| `imageB` | Image | Second image, must have the same number of bands as imageA. |\n| `maxGap` | Integer | The greatest distance a pixel may shift in either X or Y. |\n| `windowSize` | Integer | Size of the window to be compared. |\n| `maxMaskedFrac` | Float, default: 0 | The maximum fraction of pixels within the correlation window that are allowed to be masked. This test is applied at each offset location within the search region. For each offset, the overlapping image patches are compared and a correlation score computed. A pixel within these overlapping patches is considered masked if either of the patches is masked there. If the test fails at any single location in the search region, the output pixel for which the correlation is being computed is considered invalid, and will be masked. |"]]