https://hgpu.org/?p=3224
Alignment invariant image comparison implemented on the GPU