[SOLVED] COMPE565 -Multimedia Communication Systems - HW1- Basic Image Processing Operations

35.00 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

5/5 - (2 votes)

Learning Goals: 

  • Learn how to read and display Digital Image files in Matlab.
  • Learn RGB and YcrCb color spaces.
  • Learn subsampling, upsampling, interpolation, replication methods and MSE computation in Matlab.

NOTE: You can work in the groups of two students each for Home Assignments, if you want.

Support Information:

 

A 704X536 color (24-bit per pixel) JPEG image (Flooded_house.jpg) is provided with this homework. The image is posted on the same page with this document.

 

  • Read the Image: Matlab provides a command “imread” to read various image file formats. To read the image file provided with this project you can use, I = imread(‘filename.jpg’,’jpg’)

 

This command will open the image file and read the data into the array I.  I is a three dimensional array with array dimensions I[1..800][1..600][1..3].  The third dimension is color band index.

 

  • Display the image: Matlab provides a command “imshow” to display images. The image read as given above can be displayed simply by using the Matlab instruction, Imshow(I)

 

 

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.