Morphology dilation for binary images in CUDA