संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
हर पिक्सल में ऐरे वैल्यू को तय लंबाई तक पैड करता है. पैड वैल्यू को हर ऐरे में जोड़ दिया जाएगा, ताकि उसे हर ऐक्सिस के साथ दी गई लंबाई तक बढ़ाया जा सके. इमेज के सभी बैंड में ऐरे वैल्यू होनी चाहिए और उनका डाइमेंशन एक ही होना चाहिए.
इस्तेमाल
रिटर्न
Image.arrayPad(lengths, pad)
इमेज
आर्ग्यूमेंट
टाइप
विवरण
यह: image
इमेज
पैड करने के लिए, अरे में इमेज जोड़ें.
lengths
सूची
आउटपुट ऐरे में हर ऐक्सिस के लिए, तय की गई लंबाई की सूची. ऐरे पहले से ही दिए गए डाइमेंशन के बराबर या उससे बड़े हैं, तो उस ऐक्सिस के साथ कोई बदलाव नहीं होगा.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-02-23 (UTC) को अपडेट किया गया."],[[["`arrayPad` extends the array values in each image pixel to a specified length using a provided pad value."],["It accepts an array image, a list of desired lengths for each axis, and an optional pad value (defaulting to 0)."],["If an array is already at or beyond the desired length, it remains unchanged along that axis."],["All bands in the image must be array-valued and share the same dimensions for the function to work correctly."],["This function is useful for standardizing array lengths in images for further processing."]]],[]]