This method for capturing photos sounds complex, but this process is actually extremely similar to the way in which almost all modern digital cameras work. Each pixel on the sensor inside your smartphone camera, for instance, sits behind a filter that’s either red, green, or blue. Those filters are arranged in a pattern typically known as the Bayer pattern. When you snap a photo, the camera knows how much light each image received and what color filter it passed through and it uses that information to “debayer” the image and give it its colors. Rather than using pixels on one sensor, the Pancam takes multiple pictures representing different wavelengths of light and the combines them later in a similar fashion.