private static int GetGrayValueByQuanzhong(int b, int g, int r) { return (int)(r * 0.3 + g * 0.59 + b * 0.11); } /// <summary>