Gx = [-1 0 1 -2 0 2 -1 0 1]
Gy = [-1 -2 -1 0 0 0 1 2 1]
|∇I| = sqrt((Gx * I)^2 + (Gy * I)^2) (this tool clamps to 0-255).0.2126R + 0.7152G + 0.0722B for luminance.Choose which optional categories you allow. Necessary cookies are always on. Privacy Policy.