https://hgpu.org/?p=3211
Efficient Canny Edge Detection Using a GPU