private static Color ProcessPixel(int x, int y) { Color[,] pixelBounds = GetBoundary(CurrentImage, x, y); int R = ProcessColor(pixelBounds.GetRBounds()); int G = ProcessColor(pixelBounds.GetGBounds()); int B = ProcessColor(pixelBounds.GetBBounds()); return(Color.FromArgb(R, G, B)); }