Basic Image Processing Demos

Basic Image Processing Demos (for EECS20, UC Berkeley, 1996)


These are some old demos showing some basic image processing filters: thresholding, Gaussian filters, and Canny edge detector. MATLAB codes and corresponding demo results of each filter are given below. However, since these are codes for a very old MATLAB version, they have become obsolete! So do not try to run these codes directly and please use them no more than pseudo-codes. You should convert them first according to new MATLAB standards and the image processing toolbox. Then, you could try the algorithms on the other (gray) images.(The black and white image "lena.gif" we used here was obtained by translating from a color lena.tiff by using MATLAB. So it might not be the standard black and white "lena".)

  1. Thresholding
  2. Gaussian Filter
  3. Canny Edge Detector

By slightly modifying these given MATLAB programs, one can achieve more complicated task: such as edge detection of noisy images (You have to wipe off the noise as much as possible before using Canny edge detector, right? How to do that? Yes, choose a plausible Gaussian filter).


This document was made by Ma,Yi with the kind help from John Koo ,by whom the Canny edge detector was coded.