data[i + 2] = 255 * ((pixelList[i + 2] - bounds[2].min) / bounds[2].max);