pub fn differing_pixel_fraction(a: &[u8], b: &[u8], threshold: u8) -> f64
Fraction of pixels that differ (0.0 to 1.0).
Convenience wrapper around count_differing_pixels.
count_differing_pixels