Psy 221 Project Report
Implementation using MATLAB
The five algorithms we have discussed are implemented using MATLAB.
Since we do not have direct access to the mosaicked data from the CCD
sensors, we create the sub-sampled Bayer pattern image by simply
dropping two color values at each pixel of a full-color image.
The sub-sampled image is then up-sampled using each of the five
algorithms: neighbor, median, bilinear, random choice, and block
matching.
Below are the major MATLAB script files used to implement the algorithms.
bayer.m
colorInterp0.m
colorInterp1.m
colorInterp2.m
colorInterp3.m
colorInterp4.m
