https://hgpu.org/?p=9018
Morph Algorithms on GPUs