OpenCL implementation of dilation and erosion

Code for the GPU Image Processing using OpenCL article. Tested on Windows 7 and Windows 10 for an Intel and AMD GPU.

Run: python main.py

illustration