CA5_W14 - UCLA Dept of Electrical Engineering EE 114 Winter 2014 Computer Assignment 5 2-D Convolution Due Introduction This assignment focuses on

CA5_W14 - UCLA Dept of Electrical Engineering EE 114 Winter...

This preview shows page 1 - 2 out of 3 pages.

UCLA Dept. of Electrical Engineering EE 114, Winter 2014 Computer Assignment 5: 2-D Convolution Due: February 19, 2014 Introduction: This assignment focuses on two-dimensional convolution. In addition, it considers peak signal to noise ratio (PSNR), a metric for comparing images. This is a brief overview of the image functions that may be helpful for this assignment. You can download the file ca5 image.tif from the course website. Loading an image ( imread ) : Images can be loaded into workspace with the imread function: ca5 image = imread(’ca5 image.tif’); Displaying an image ( imagesc ) : Throughout all the computer as- signments of the rest of this quarter, we will only deal with grayscale images. Grayscale images are matrices in the Matlab workspace. They can be displayed by the imagesc function with a grayscale colormap: imagesc(ca5 image); colormap(gray); Cropping an image ( imcrop ) : An image can be cropped by using the function imcrop , which crops image to a specified rectangular area: rect = [30, 20, 99, 199]; imcrop (ca5 image, rect);
Image of page 1
Image of page 2

You've reached the end of your free preview.

Want to read all 3 pages?

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture