Canny Edge Detection Filter
Canny Edge Detection Filter written in C with NVIDIA CUDA
Overview
Personnal project made with CUDA in pure C that implements the Canny edge detection filter.
Steps of the detection:
- Gaussian blur pass to reduce high frequencies in the image (reduces the risk of false positive edge detections due to the noise in the image)
- Sobel filter to detect edges (gradients)
- Apply a threshold to eliminate edges (gradients) that are too weak
- Double thresholding: separates “weak” from “strong” edges according to 2 thresholds given at execution.
- Hysteresis to keep only significant edges : “strong” edges or “weak” edges connected to a strong edge (8-connexity)
Github
This project is open-source on Github: CUDA Canny Edge Detection