Determine the color of each pixel after the gamma correction