


Nearest neighbor demosaicking RGB = NearestNeighbor(BAYER, [bPattern = 'gbrg']) Demosaicking algorithms estimate missing color information by interpolation of the known color information across different color planes. This algorithm replicates the color information that is closest to the missing information. This implementation only works for grbg bayer patterns. Copyright ImagEval Consultants, LLC, 2005.
