I am working on my college project on Cryptographic key generation using facial features and I am new to MATLAB

I am working on a project for Generation of Cryptographic keys using facial features using ICA algorithm. I am using AT&T data base having 40 folders with 10 images each. I found the .pgm extension is not acceptable in this code. I need to know about the 'xv' program which might help.
I am totally new to MATLAB so there are tons of problems I am facing.
Attached is the code I am using for reading all the images.

 Accepted Answer

After the lines
% Get PNG files.
filePattern = sprintf('%s/*.png', thisFolder);
baseFileNames = dir(filePattern);
add
% add on pmg files
filePattern = sprintf('%s/*.pmg', thisFolder);
baseFileNames = [baseFileNames;dir(filePattern)];

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!