pub fn compute_phash(pixels: &[u8], width: u32, height: u32) -> [u8; 8]
Compute perceptual hash (dHash-like) from grayscale pixel data. Expects row-major grayscale pixels.