Pixlane is loading locally. No upload, no signup, and your files stay on your device.
Deteksi dan visualisasikan tepi pada gambar apa pun. Pilih antara algoritma Canny, Sobel, Laplace, Scharr, dan Prewitt untuk menyorot kontur, batas, dan detail struktural.
Jalankan deteksi tepi Canny, Sobel, Laplacian, Scharr, dan Prewitt secara online untuk memvisualisasikan batas, gradien, dan detail struktural.
All processing runs locally in your browser. Your files never leave your device — no upload, no server, no signup required.
Edge detection identifies boundaries in images where brightness changes sharply. It is a fundamental operation in computer vision used for object recognition, image segmentation, and feature extraction.
Canny is a multi-stage algorithm producing clean, thin edges with hysteresis. Sobel uses 3×3+ directional kernels. Scharr is an optimized 3×3 Sobel with better rotational symmetry. Laplace uses the second derivative, detecting edges in all directions. Prewitt uses simpler [-1,0,1] kernels for basic gradient estimation.
In Canny edge detection, the low threshold filters out weak edges and the high threshold identifies strong edges. Pixels between the two thresholds are kept only if connected to strong edges (hysteresis).
dx and dy control the derivative order in the X and Y directions. Setting dx=1,dy=0 detects vertical edges; dx=0,dy=1 detects horizontal edges. At least one must be non-zero.
The kernel size determines the convolution window used for gradient computation. Larger kernels (5×5, 7×7) smooth out noise but may miss fine details. 3×3 is the default for most applications.