Pixlane is loading locally. No upload, no signup, and your files stay on your device.
Détectez et visualisez les bords de n’importe quelle image. Choisissez entre les algorithmes Canny, Sobel, Laplace, Scharr et Prewitt pour mettre en évidence les contours, les limites et les détails structurels.
Exécutez la détection des contours Canny, Sobel, Laplacian, Scharr et Prewitt en ligne pour visualiser les limites, les dégradés et les détails structurels.
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.