A New Color Interpolation Algorithm for Bayer Pattern Digital Cameras Based on Green Components
To judge the smooth area or edge in an image accurately and reduce false color caused by different channels with different orientation judgment, a new color interpolation algorithm based on the difference of Green channel's orientation gradient is introduced. By introducing horizontal gradient and vertical gradient, the smooth area or edge and the interpolation orientation of the Green channel can be judged by the two gradients. Once the interpolation orientation of the Green channel is fixed, the restoration of Red or Blue channel will be decided by it to reduce false color. Experiments show that the algorithm achieved a high peak signal to noise ratio (PSNR) and good image quality not only on the edge but also in the smooth area and the false color is reduced too. Combining the advantages of the edge sensing and bilinear interpolation, the new interpolation algorithm can achieve a better quality on the whole image.