Home > ISET > imgproc > Demosaic > Demosaic.m

Demosaic

PURPOSE ^

Color demosaicing interface routine.

SYNOPSIS ^

function demosaicedImage = Demosaic(vci,isa)

DESCRIPTION ^

Color demosaicing interface routine.  

    demosaicedImage = Demosaic(vci,isa) 

 The input data are in the image sensory array structure. These data
 are a planar image (r,c) with color information.   The demosaic
 algorithms convert the sensor data  to an (r,c,3) using the
 information about the sensor in the ISA structure.
    
 The returned DEMOSAICEDIMAGE is a (r,c,w) image, where w is usually 3.

 The available demosaic methods will grow over time. For now they are

    {'bilinear'}
    {'laplacian'}
    {'adaptive laplacian'}
    {'nearest neighbor'}
        
  These all function properly on GRBG Bayer images, but they do not function
  properly on CMY. There are also some issues with RGGB that we are
  examining.

 Examples:
  d = Demosaic(vci,isa)
  d = Demosaic(vci,isa)

 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