Home > ISET > imgproc > Demosaic > NearestNeighbor.m

NearestNeighbor

PURPOSE ^

Nearest neighbor demosaicking

SYNOPSIS ^

function [ rgb ] = NearestNeighbor(bayer, bPattern)

DESCRIPTION ^

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.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 14-Jan-2007 10:24:23 by m2html © 2003