ঘোষণা :
15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য
অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
ee.Algorithms.HillShadow
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি ছায়া ব্যান্ড তৈরি করে, আউটপুট 1 সহ যেখানে পিক্সেল আলোকিত হয় এবং 0 যেখানে তারা ছায়াযুক্ত হয়। ইনপুট হিসাবে একটি উচ্চতা ব্যান্ড, ডিগ্রীতে আলোর উৎসের আজিমুথ এবং জেনিথ, একটি আশেপাশের আকার, এবং ছায়া দেখা গেলে হিস্টেরেসিস প্রয়োগ করতে হবে কি না। বর্তমানে, এই অ্যালগরিদম শুধুমাত্র Mercator অনুমানগুলির জন্য কাজ করে, যেখানে আলোক রশ্মিগুলি সমান্তরাল।
ব্যবহার | রিটার্নস | ee.Algorithms.HillShadow(image, azimuth, zenith, neighborhoodSize , hysteresis ) | ছবি |
যুক্তি | টাইপ | বিস্তারিত | image | ছবি | যে চিত্রটিতে ছায়া অ্যালগরিদম প্রয়োগ করতে হবে, যেখানে প্রতিটি পিক্সেল মিটারে একটি উচ্চতা উপস্থাপন করবে৷ |
azimuth | ভাসা | ডিগ্রীতে আজিমুথ। |
zenith | ভাসা | ডিগ্রীতে জেনিথ। |
neighborhoodSize | পূর্ণসংখ্যা, ডিফল্ট: 0 | পাড়ার আকার। |
hysteresis | বুলিয়ান, ডিফল্ট: মিথ্যা | হিস্টেরেসিস ব্যবহার করুন। কম শারীরিকভাবে সঠিক, কিন্তু আরও ভালো ছবি তৈরি করতে পারে। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট 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\u003eGenerates a binary shadow map (1 for illuminated, 0 for shadowed) based on terrain elevation, sun position, and optional hysteresis.\u003c/p\u003e\n"],["\u003cp\u003eThe algorithm utilizes a neighborhood size parameter to determine shadowing and currently supports only Mercator projections with parallel light rays.\u003c/p\u003e\n"],["\u003cp\u003eInput elevation data should be in meters and sun position is defined by azimuth and zenith angles in degrees.\u003c/p\u003e\n"],["\u003cp\u003eHysteresis can be enabled to potentially improve visual results but may compromise physical accuracy.\u003c/p\u003e\n"]]],["The `HillShadow` algorithm generates a shadow band (1 for illuminated, 0 for shadowed pixels) for Mercator projections. It requires an elevation image, light source azimuth and zenith angles, and a neighborhood size. Hysteresis can be optionally applied for potentially improved visuals. The algorithm's inputs include the elevation image, azimuth (degrees), zenith (degrees), neighborhood size, and a boolean for hysteresis, outputting a shadow band image.\n"],null,["# ee.Algorithms.HillShadow\n\nCreates a shadow band, with output 1 where pixels are illumunated and 0 where they are shadowed. Takes as input an elevation band, azimuth and zenith of the light source in degrees, a neighborhood size, and whether or not to apply hysteresis when a shadow appears. Currently, this algorithm only works for Mercator projections, in which light rays are parallel.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------------------------------------------------------------------------|---------|\n| `ee.Algorithms.HillShadow(image, azimuth, zenith, `*neighborhoodSize* `, `*hysteresis*`)` | Image |\n\n| Argument | Type | Details |\n|--------------------|-------------------------|----------------------------------------------------------------------------------------------------------------|\n| `image` | Image | The image to which to apply the shadow algorithm, in which each pixel should represent an elevation in meters. |\n| `azimuth` | Float | Azimuth in degrees. |\n| `zenith` | Float | Zenith in degrees. |\n| `neighborhoodSize` | Integer, default: 0 | Neighborhood size. |\n| `hysteresis` | Boolean, default: false | Use hysteresis. Less physically accurate, but may generate better images. |"]]