


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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%