public static int ColorDifference(PixelData a, PixelData b) { return (int)Math.Ceiling (Math.Sqrt (ColorDifferenceSquared (a, b))); }