ঘোষণা :
15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য
অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
ee.Image.and
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
1 ফেরত দেয় যদি এবং শুধুমাত্র যদি উভয় মানই ইমেজ1 এবং image2 এর প্রতিটি মিলে যাওয়া জোড়া ব্যান্ডের জন্য শূন্য না হয়। যদি image1 বা image2 এর শুধুমাত্র 1 ব্যান্ড থাকে, তাহলে এটি অন্য চিত্রের সমস্ত ব্যান্ডের বিরুদ্ধে ব্যবহার করা হয়। যদি চিত্রগুলিতে একই সংখ্যক ব্যান্ড থাকে, কিন্তু একই নাম না হয়, তবে সেগুলি প্রাকৃতিক ক্রমে জোড়া ব্যবহার করা হয়। আউটপুট ব্যান্ড দুটি ইনপুটের দীর্ঘ সময়ের জন্য নামকরণ করা হয়, অথবা যদি তারা দৈর্ঘ্যে সমান হয়, তাহলে image1 এর ক্রম অনুসারে। আউটপুট পিক্সেলের ধরন বুলিয়ান।
ব্যবহার | রিটার্নস | Image. and (image2) | ছবি |
যুক্তি | টাইপ | বিস্তারিত | এই: image1 | ছবি | যে ছবিটি থেকে বাম অপারেন্ড ব্যান্ডগুলি নেওয়া হয়েছে৷ |
image2 | ছবি | যে ছবিটি থেকে সঠিক অপারেন্ড ব্যান্ডগুলি নেওয়া হয়েছে৷ |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট 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\u003eReturns 1 if both corresponding bands in the two input images have non-zero values, otherwise returns 0.\u003c/p\u003e\n"],["\u003cp\u003eHandles single-band images by comparing the single band against all bands of the other image.\u003c/p\u003e\n"],["\u003cp\u003eOutput bands are named according to the input image with more bands, or \u003ccode\u003eimage1\u003c/code\u003e's order if they have an equal number.\u003c/p\u003e\n"],["\u003cp\u003eThe resulting image has boolean pixel values (1 or 0).\u003c/p\u003e\n"]]],["The `and` operation checks if corresponding bands in two images (`image1`, `image2`) are non-zero. It returns 1 if both values are non-zero and 0 otherwise. If one image has a single band, it's compared against all bands in the other. Bands are compared pairwise if the images have the same band count, using natural order if names differ. The output is a boolean image, with band names derived from the longer input image's band names.\n"],null,["# ee.Image.and\n\nReturns 1 if and only if both values are non-zero for each matched pair of bands in image1 and image2. If either image1 or image2 has only 1 band, then it is used against all the bands in the other image. If the images have the same number of bands, but not the same names, they're used pairwise in the natural order. The output bands are named for the longer of the two inputs, or if they're equal in length, in image1's order. The type of the output pixels is boolean.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------|---------|\n| Image.and`(image2)` | Image |\n\n| Argument | Type | Details |\n|----------------|-------|---------------------------------------------------------|\n| this: `image1` | Image | The image from which the left operand bands are taken. |\n| `image2` | Image | The image from which the right operand bands are taken. |"]]