https://hgpu.org/?p=1284
Parallel Banding Algorithm to compute exact distance transform with the GPU