Converts the image to BT.601 luma at a fixed analysis size (long side analysis_m...
https://bild.halowerk.com/v1/blur-detectOverview
Converts the image to BT.601 luma at a fixed analysis size (long side analysis_max_side, default 1024; smaller images are not upscaled) and computes the variance of the 4-neighbour Laplacian (Pech-Pacheco et al. 2000) and the Tenengrad energy (mean squared Sobel magnitude). Because noise also raises the Laplacian variance, the Immerkær (1996) noise sigma is estimated and 20·sigma² (the Laplacian response to white noise) is subtracted.