eigenfaces_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2 Test eigenfaces(). imshow_numeric_test(): IMSHOW_NUMERIC displays a numeric MxN array as a grayscale image. In the best case, the array contains integers between 0 (black) and 255 (white). imshow_numeric_test(): Normal end of execution. line_count_test(): LINE_COUNT counts the lines in a file. Count the (10) lines in "s01_list.txt" Number of lines counted is 10 line_count_test(): Normal end of execution. pgm_display_test(): pgm_display() reads and displays a binary PGM file. pgm_display_test(): Normal end of execution. pgm_read_test(): pgm_read() reads a binary PGM file. pgm_read_test(): Normal end of execution. pgms_pack_test(): pgms_pack() packs multiple PGM files into a single array. Packing files from the list "s01_list.txt" 1 s0101.pgm 2 s0102.pgm 3 s0103.pgm 4 s0104.pgm 5 s0105.pgm 6 s0106.pgm 7 s0107.pgm 8 s0108.pgm 9 s0109.pgm 10 s0110.pgm Packed array contains 10 PGM files Each PGM has width 92 and height 112 pgms_pack_test(): Normal end of execution. pc_vectors_test(): PC_VECTORS computes principal component vectors. Pack multiple PGM files into a single array. Do principal component analysis. Display the PC vectors. Packing files from the list "s01_list.txt" 1 s0101.pgm 2 s0102.pgm 3 s0103.pgm 4 s0104.pgm 5 s0105.pgm 6 s0106.pgm 7 s0107.pgm 8 s0108.pgm 9 s0109.pgm 10 s0110.pgm Packed array contains 10 PGM files Each PGM has width 92 and height 112 Confirm that the vectors are orthonormal: V' * V = I? 1.0000 0.0000 0.0000 0.0000 0.0000 0.0000 1.0000 -0.0000 0.0000 -0.0000 0.0000 -0.0000 1.0000 -0.0000 0.0000 0.0000 0.0000 -0.0000 1.0000 0.0000 0.0000 -0.0000 0.0000 0.0000 1.0000 pc_vectors_test(): Normal end of execution. pgm_project_test(): Pack multiple PGM files into a single array. Generate a set of principal component vectors. Given one of those PGM files, reconstruct the image as a sum of the average plus projections onto vectors. Repeat for a PGM file that is NOT in the database. PGM_PROJECT: Packing files from the list "s01_list.txt" Extracting average and 9 principal component vectors Projecting PGM data from file "s0103.pgm" 1 s0101.pgm 2 s0102.pgm 3 s0103.pgm 4 s0104.pgm 5 s0105.pgm 6 s0106.pgm 7 s0107.pgm 8 s0108.pgm 9 s0109.pgm 10 s0110.pgm Packed array contains 10 PGM files Each PGM has width 92 and height 112 Projections of image onto vectors: 1 -2106.1 2 286.377 3 1151.83 4 -942.546 5 1947.07 6 618.825 7 197.054 8 34.8283 9 -38.4802 PGM_PROJECT: Packing files from the list "s01_list.txt" Extracting average and 9 principal component vectors Projecting PGM data from file "s0203.pgm" 1 s0101.pgm 2 s0102.pgm 3 s0103.pgm 4 s0104.pgm 5 s0105.pgm 6 s0106.pgm 7 s0107.pgm 8 s0108.pgm 9 s0109.pgm 10 s0110.pgm Packed array contains 10 PGM files Each PGM has width 92 and height 112 Projections of image onto vectors: 1 -1151.3 2 425.138 3 1359.86 4 -541.36 5 -208.516 6 209.41 7 -68.5654 8 -76.4807 9 -310.032 pgm_project_test(): Normal end of execution. eigenfaces_test(): Normal end of execution.