https://hgpu.org/?p=3894
An Efficient Approach for Generating Pencil Filter and Its Implementation on GPU