Bayer 1Smartphone uses
Smartphones are highly versatile devices of our time that are used for many purposes besides just making a phone call. These devices are manufactured in a way that they can do perform many technological functions such as surfing the internet, running games and apps, taking pictures and recording videos. One can easily notice that nowadays smartphone is the primary camera device of many people. That is the major reason why most smartphone purchasers are seriously concerned about the quality of their phone’s camera.


The secret
Almost all people who buy a smartphone look for the handsets that have a very good camera; however, there is a small number of people who actually how that how a phone’s camera work. It is quite interesting to know how the digital camera of a smartphone captures all those colors.


Camera’s working
In the shortest possible way to describe, there are sensors inside the camera on which there is a huge amount of light-sensitive pixels. For example, the 12-megapixel camera has about 12 million of these pixels. When the shutter button is pressed, the light hits the pixels where it is further processed to form a digital image. This image is stored on the smartphone’s gallery.


Bayer 2Bayer filter
What is really interesting is that the light-sensitive element on a pixel is unable to detect color rather it only detects the intensity of the light that hits it. Now here is why Bayer filter is required; it calculates the RGB color value of every pixel. RGB stands for red, green and blue. The Bayer filter places a blue, red or green filter on each pixel which detects the value of a color. The color values are also estimated from the adjacent pixels in order to capture missing colors that a pixel might miss. It is quite a simple thing though it might confuse some people.