The sensor is black and white. This lets them collect the most accurate information about how much light hits each part of the sensor. To take a color image they put a color filter in front of the lens, then they can recolor the black and white image according to the color of the filter. If they take multiple pictures with different filters, they can reconstruct a color image. http://areo.info/mer/