Home > ISET > imgproc > Demosaic > shtlin.m

shtlin

PURPOSE ^

Smooth hue interpolation algorithm (not fully implemented)

SYNOPSIS ^

function out = shtlin(in)

DESCRIPTION ^

 Smooth hue interpolation algorithm (not fully implemented)

    out = shtlin(in) 

 Demosaic'ing algorithms estimate missing color information by
 interpolation of the known color information across different color
 planes.

 Ting Chen evaluated this in my class.
 
 It only works on the following color array
 
  ------------------> x 
  |  G R G R ... 
  |  B G B G ... 
  |  G R G R ... 
  |  B G B G ... 
  |  . . . . . 
  |  . . . .  . 
  |  . . . .   . 
  | 
  V y 
 
 
 Input : 
 
 in : original image matrix (mxnx3), m&n even 
 
 Output : 
 
 out : color interpolated image 
 
 Last Modified : 03/09/99 
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

CROSS-REFERENCE INFORMATION ^

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