https://hgpu.org/?p=4777
Focus measurement on programmable graphics hardware for all in-focus rendering from light fields