fn luma(f: &Frame, x: i32, y: i32) -> f32
Luma at (x, y), edge-clamped (the search window is allowed to hang off the frame).