pub fn color_delta(px1: Rgba, px2: Rgba, y_only: bool) -> f64Expand description
Calculate perceptual color delta between two RGBA pixels using YIQ color space. Returns a value in [0.0, 1.0] representing the magnitude of difference. Based on Kotsarenko & Ramos (2010) as adapted by pixelmatch.