We use the gray image cameraman.tif, which is coincidentally 256x256, so it decomposes into 16x16 pixel blocks perfectly. The program hw5.m returns the eigenvalues and eigenvectors for the KL Transform. The first and last 10 eignevectors are given in links below.
Note: I used the MATLAB command "eig" to solve the eigenvalue problem for R. I realized later that eig returns the eigenvectors in the order from smallest to largest eigenvector. Since our most important eigenvector is the one with the largest eigenvalue, I switched the order here. Hence, the first eigenvector shown is the image "hw5_eig256" which is the plot of E(:,256). As we move on, the eigenvectors appear to be more and more varied.
![]() Eigenvector 1 |
![]() Eigenvector 2 |
![]() Eigenvector 3 |
![]() Eigenvector 4 |
![]() Eigenvector 5 |
![]() Eigenvector 6 |
![]() Eigenvector 7 |
![]() Eigenvector 8 |
![]() Eigenvector 9 |
![]() Eigenvector 10 |
![]() Eigenvector 247 |
![]() Eigenvector 248 |
![]() Eigenvector 249 |
![]() Eigenvector 250 |
![]() Eigenvector 251 |
![]() Eigenvector 252 |
![]() Eigenvector 253 |
![]() Eigenvector 254 |
![]() Eigenvector 255 |
![]() Eigenvector 256 |