Sobel Edge Detection
Highlight edges using the classic 3×3 Sobel operator.
How to Use
- Drop image.
- Pick threshold / invert.
- Download.
Image
↗
Drop image
Preview
Notes
Gx
[-1,0,1;-2,0,2;-1,0,1]
Gy
[-1,-2,-1;0,0,0;1,2,1]
Magnitude
√(Gx²+Gy²)
Threshold
Edge/no-edge cutoff
Output
PNG grayscale
Privacy
Local
Frequently Asked Questions
Algorithm?
Sobel 3×3 X + Y gradients; magnitude = √(Gx² + Gy²).
Common Use Cases
Sketch effect
Line art from photo.
Last updated: