pub fn psnr(img1: &[f32], img2: &[f32], max_val: f32) -> Result<f32, EvalError>
Peak Signal-to-Noise Ratio between two images.
Both inputs are flat f32 slices (same length). max_val is the maximum pixel value.
max_val