Computer Assignment 6 Solution EE114 Winter 100 150 200 250 300 350

Computer assignment 6 solution ee114 winter 100 150

This preview shows page 4 - 9 out of 9 pages.

Computer Assignment 6 Solution EE114, Winter 2014 4/9 50 100 150 200 250 300 350 400 450 500 50 100 150 200 250 300 350 400 450 500 Figure 3 FT coefficients magnitude, reduced to [-128:127] Typing im_128 = real(ifft2(ft_128)); imagesc(im_128); axis square; PSNR(im, im_128) yields the result in Figure 4 and a PSNR = 31.2383 .
Image of page 4
EE114, Winter 2014 Computer Assignment 6 Solution ________________________________________________________________________ 5/9 50 100 150 200 250 300 350 400 450 500 50 100 150 200 250 300 350 400 450 500 Figure 4 Bridge, reconstructed from [-128,127] 2.3 Task c Reduce to [-64:63] Typing ft_64 = ReduceFT(ft, 64); sft_64 = ScaleFTAmp(ft_64); imagesc(sft_64); colormap(gray); axis square; yields the result in Figure 5.
Image of page 5
Computer Assignment 6 Solution EE114, Winter 2014 6/9 50 100 150 200 250 300 350 400 450 500 50 100 150 200 250 300 350 400 450 500 Figure 5 FT coefficients, reduced to [-64:63] Typing im_64 = real(ifft2(ft_64)); imagesc(im_64); axis square; PSNR(im, im_64) yields the result in Figure 6 and a PSNR = 26.7170 .
Image of page 6
EE114, Winter 2014 Computer Assignment 6 Solution ________________________________________________________________________ 7/9 50 100 150 200 250 300 350 400 450 500 50 100 150 200 250 300 350 400 450 500 Figure 6 Bridge, reconstructed from [-64,63] 2.4 Task c Reduce to [-32:31] Typing ft_32 = ReduceFT(ft, 32); sft_32 = ScaleFTAmp(ft_32); imagesc(sft_32); colormap(gray); axis square; yields the result in Figure 7.
Image of page 7
Computer Assignment 6 Solution EE114, Winter 2014 8/9 50 100 150 200 250 300 350 400 450 500 50 100 150 200 250 300 350 400 450 500 Figure 7 FT coefficients magnitude, reduced to [-32:31] Typing im_32 = real(ifft2(ft_32)); imagesc(im_32); axis square; PSNR(im, im_32) yields the result in Figure 8 and a PSNR = 24.1756 .
Image of page 8
EE114, Winter 2014 Computer Assignment 6 Solution ________________________________________________________________________ 9/9 50 100 150 200 250 300 350 400 450 500 50 100 150 200 250 300 350 400 450 500 Figure 8 Bridge, reconstructed from [-32:31]
Image of page 9

You've reached the end of your free preview.

Want to read all 9 pages?

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture