Code Listing


I used Matlab[27] for coding. All the .m files are documented . The files which started with "demo_" are convenient files which are drivers for the code and the demo_* files can be run simply .

Core Matlab files are:



The demo files are:



Helper files:



External toolbox:

New to matlab (and as I didnt have Image toolbox initially on my computer), I used jpegtoolbox[26] for block dct transform before I realized I could do blkproc and dct. I used blkproc in spread_spectrum code but in the Zhao & Koch code I used the toolbox only to do block dct. The files from the toolbox are included for complete refrence (bdct.m , bdctmtx.m, im2vec.m, ibdct.m, vec2im.m)