[[["容易理解","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 3x3 Sobel kernel for edge detection in images."],["The kernel can be scaled using the `magnitude` argument."],["Optionally, the kernel values can be normalized to sum to 1 using the `normalize` argument."],["Usage examples are provided in JavaScript, Python, and Colab environments."]]],["The `ee.Kernel.sobel()` function creates a 3x3 Sobel edge-detection kernel. It accepts two arguments: `magnitude`, which scales the kernel values (default is 1), and `normalize`, which normalizes the kernel to sum to 1 (default is false). The function returns a Kernel object with the weights matrix: `[-1, 0, 1]`, `[-2, 0, 2]`, `[-1, 0, 1]`. The kernel can be used in both Javascript and Python coding environments.\n"]]