ee.Image.entropy
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह फ़ंक्शन, हर बैंड के लिए विंडो वाली एंट्रॉपी का हिसाब लगाता है. इसके लिए, हर इनपुट पिक्सल पर केंद्रित किए गए कर्नल का इस्तेमाल किया जाता है. एंट्रॉपी की गिनती इस तरह की जाती है: -sum(p * log2(p)). यहां p, हर विंडो में मिली वैल्यू के होने की सामान्य संभावना है.
इस्तेमाल | रिटर्न |
---|
Image.entropy(kernel) | इमेज |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: image | इमेज | वह इमेज जिसके लिए एंट्रॉपी का हिसाब लगाना है. |
kernel | कर्नेल | यह कर्नल, उस विंडो के बारे में बताता है जिसमें कंप्यूट करना है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eCalculates the entropy for each band of an image within a defined window around each pixel.\u003c/p\u003e\n"],["\u003cp\u003eEntropy is a measure of randomness or information content, calculated using a specific formula based on pixel value probabilities.\u003c/p\u003e\n"],["\u003cp\u003eA kernel determines the size and shape of the window used for entropy calculation, impacting the output image.\u003c/p\u003e\n"],["\u003cp\u003eThe result is a new image where each pixel represents the entropy of the corresponding window in the original image.\u003c/p\u003e\n"]]],[],null,["# ee.Image.entropy\n\nComputes the windowed entropy for each band using the specified kernel centered on each input pixel. Entropy is computed as -sum(p \\* log2(p)), where p is the normalized probability of occurrence of the values encountered in each window.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------|---------|\n| Image.entropy`(kernel)` | Image |\n\n| Argument | Type | Details |\n|---------------|--------|-----------------------------------------------------|\n| this: `image` | Image | The image for which to compute the entropy. |\n| `kernel` | Kernel | A kernel specifying the window in which to compute. |"]]