ঘোষণা :
15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য
অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
ee.Image.focalMax
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি নামযুক্ত বা কাস্টম কার্নেল ব্যবহার করে একটি চিত্রের প্রতিটি ব্যান্ডে একটি morphological reducer() ফিল্টার প্রয়োগ করে।
ব্যবহার | রিটার্নস | Image. focalMax ( radius , kernelType , units , iterations , kernel ) | ছবি |
যুক্তি | টাইপ | বিস্তারিত | এই: image | ছবি | যে চিত্রটিতে অপারেশনগুলি প্রয়োগ করতে হবে৷ |
radius | ফ্লোট, ডিফল্ট: 1.5 | কার্নেলের ব্যাসার্ধ ব্যবহার করতে হবে। |
kernelType | স্ট্রিং, ডিফল্ট: "বৃত্ত" | কার্নেলের ধরন ব্যবহার করতে হবে। বিকল্পগুলির মধ্যে রয়েছে: 'বৃত্ত', 'বর্গাকার', 'ক্রস', 'প্লাস', 'অষ্টভুজ', এবং 'হীরা'। |
units | স্ট্রিং, ডিফল্ট: "পিক্সেল" | যদি একটি কার্নেল নির্দিষ্ট করা না থাকে, তাহলে এটি নির্ধারণ করে যে কার্নেলটি মিটার বা পিক্সেলে আছে কিনা। |
iterations | পূর্ণসংখ্যা, ডিফল্ট: 1 | প্রদত্ত কার্নেলটি কতবার প্রয়োগ করতে হবে। |
kernel | কার্নেল, ডিফল্ট: নাল | একটি কাস্টম কার্নেল। ব্যবহার করা হলে, kernelType এবং ব্যাসার্ধ উপেক্ষা করা হয়। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট 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\u003eApplies a morphological reducer, such as focalMax, to an image to alter pixel values based on neighboring pixels within a specified kernel.\u003c/p\u003e\n"],["\u003cp\u003eOffers flexibility in kernel selection with predefined shapes like circle, square, cross, plus, octagon, and diamond or allows custom kernels.\u003c/p\u003e\n"],["\u003cp\u003eUsers can control the kernel size using radius and specify whether the unit is in pixels or meters.\u003c/p\u003e\n"],["\u003cp\u003eEnables iterative application of the kernel for intensified effects using the iterations parameter.\u003c/p\u003e\n"],["\u003cp\u003eModifies each band of the input image independently, returning a new image with the transformed values.\u003c/p\u003e\n"]]],["The `focalMax()` function applies a morphological reducer filter to each image band. It utilizes either a predefined kernel type (circle, square, cross, plus, octagon, diamond) or a user-defined custom kernel. The operation is applied iteratively, with the number of iterations specifiable. The kernel's size is determined by the `radius` parameter (in pixels or meters) or by the dimensions of the custom kernel. The method returns the processed image.\n"],null,["# ee.Image.focalMax\n\nApplies a morphological reducer() filter to each band of an image using a named or custom kernel.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------------------------------------|---------|\n| Image.focalMax`(`*radius* `, `*kernelType* `, `*units* `, `*iterations* `, `*kernel*`)` | Image |\n\n| Argument | Type | Details |\n|---------------|---------------------------|------------------------------------------------------------------------------------------------------------|\n| this: `image` | Image | The image to which to apply the operations. |\n| `radius` | Float, default: 1.5 | The radius of the kernel to use. |\n| `kernelType` | String, default: \"circle\" | The type of kernel to use. Options include: 'circle', 'square', 'cross', 'plus', 'octagon', and 'diamond'. |\n| `units` | String, default: \"pixels\" | If a kernel is not specified, this determines whether the kernel is in meters or pixels. |\n| `iterations` | Integer, default: 1 | The number of times to apply the given kernel. |\n| `kernel` | Kernel, default: null | A custom kernel. If used, kernelType and radius are ignored. |"]]