- conv2demo.m -- Demonstratioin of 2d convolution using the sample in the lecture note
- Mydemo.m -- An introduction to Image Processing (updated 9/2005)
- Cdemo.m -- Demonstration of color manipulation using mysail.bmp (updated 9/2005)
- l5e2.m -- generate frequency response example
- l7e1.m -- demo 2D Fourier Transform
- alias.m -- demonstrating effect of alias in 1D case.

- enh_pixel.m -- demonstrating pixel-based image enhancement methods, including intensity transformation and histogram equalization (new, 9/2005)
- histeqdemo.m -- histogram equalization example,
and test image file p64int.txt

histeq.m -- A callable subroutine of histogram equalization - freq.m -- demonstrating frequency domain fitlering approaches.
- filterdemo.m -- demonstrating spatial domain filtering approaches, and the test image file lena.bmp
- p64.bmp -- a 64 by 64 gray scale image used by freq.m and spatial.m

- invfildemo.m -- demonstration of inverse filter, Wiener filter and Constrained least square restoration methods
- motionblur.m -- generate linear motion blur masks,
- blurdemo.m -- demonstrations of image blurring process

- entropy.m -- compute entropy of a given probability vector
**huffman Coding**--

huff_tbl.m generating huffman code table,

huff_enc.m huffman code Encoding, and

huff_dec.m huffman code decoding.**Arithmetic coding Demostration**--

arcodemo.m, Demonstration program,

arenc.m, encoding routine, and

ardec.m, decoding routine.

- jpegdemo.m -- Demonstrating Jpeg encoding.
- divq.m -- Weigthed quantization.
- dpcm.m -- JPEG DPCM for DC coefficient
- jdcenc.m -- DC Coefficient huffman Encoding.
- jacenc.m -- AC Coefficient huffman Encoding.
- int2bin.m -- Integer to binary (sign-mag) representation. Needed by jdcenc.m, and jacenc.m.
- medemo.m -- demonstration of motion estimation

medemo.mat -- data file for medemo.m

- morphdemo.m -- Morphological Processing demonstration
- hitnmiss.m -- subroutine for hit-n-miss transform
- imopen.m -- subroutine for opening operation
- imclose.m -- subroutine for closing operation
- fig915.m -- Figure 9.15, Region filling example, Gonzales and Woods book, pp. 536.
- fig917.m -- Figure 9.17, connected component extraction example, Gonzales and Woods book, pp. 537.
- fig921.m -- Figure 9.21, thinning example, Gonzales and Woods book, pp. 542.
- fig924.m -- Figure 9.24, skeletonization example, Gonzales and Woods book, pp. 545.
- boundarydemo.m -- demonstrate
boundary extraction, interior filling

imfill.m -- callable routine for interior filling

- threshdemo.m -- demonstration of global and local thresholding for segmentation. Require kmeansf.m, kmeantest.m, dist.m
- houghdemo.m -- demonstration program for hough.m
- hough.m -- Hough transform for binary image.

- waveletdemo.m -- demonstration of single level discrete wavelet decomposition of an image

**Clustering**

clusterdemo.m -- Demonstration of Kmeans (LBG) clutering algorithm for vector quantization.

kmeansf.m -- clustering engine called by kmeans.m.

kmeantest.m -- compute membership, and distortion after clustering

- dgen2.m -- generate random mixture of normal distributed data. Called by pca.m
- dist.m -- calculating distances
- datagen.m - data generation routine called by clusterdemo.m

Return to Course Homepage