[[["容易理解","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-07-26 (世界標準時間)。"],[[["Generates a diamond-shaped kernel for use in image processing operations."],["The kernel weights are by default normalized to sum to 1, creating a smoothing effect."],["You can control the radius of the diamond kernel and specify its units in pixels or meters."],["An optional magnitude argument allows scaling the kernel weights for custom effects."],["The diamond kernel is useful for operations that require equal consideration of pixels in all diagonal and orthogonal directions."]]],["The `ee.Kernel.diamond` function generates a diamond-shaped boolean kernel. Key parameters include `radius`, defining the kernel's size; `units` (pixels or meters), specifying the measurement system; `normalize` (boolean), controlling if values sum to 1; and `magnitude`, used to scale values. The function returns a Kernel object. An example demonstrates creating a radius-3 kernel with a matrix showing the diamond pattern and its weighted values.\n"]]