ENEE631 Building Block 1
1. mysq.tif
2. saturn.tif
3. Face Images (
Use rgb2gray to transform RGB images to gray-level ones and preform the KL )
4. Problem 2(6)
- You can use the PGM file format to save and load your results between C and Matlab.
The PGM file format can be found at
http://www.dcs.ed.ac.uk/home/mxr/gfx/2d/PGM.txt
- Generate PGM files by Matlab:
You can use the .m file by the Matlab user contributed functions
ftp://ftp.mathworks.com/pub/contrib/v5/image/pnm.zip
or
ftp://ftp.mathworks.com/pub/contrib/v5/image/pnm.tar
- Generate PGM files by C/C++
You can download and modify this file
pgm.cpp
- Here is a 8x8 pgm file for checking your result