{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

h6 - 20 ECE 253a Digital Image Processing Pamela Cosman...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
# 20 ECE 253a Digital Image Processing Pamela Cosman 11/23/10 HOMEWORK 6 Due Friday Dec 3 in class 1. JPEG quality levels: This is a simple exercise intended just to give you a feel for the quality versus bit rate performance of JPEG. Read the images aerial4.tif and xray.tif into Matlab using imread. Matlab allows you to control the quality level (and therefore the bit rate) of the JPEG image that you are writing out. Try writing out the image with terrible quality (quality level = 1) and with excellent quality (quality = 100) and with several values in between. If your image is anmed aerial, the imwrite command to get quality level 1 would be: imwrite(aerial,’aer1.jpg’,’jpg’,’quality’,1); For each image, make a plot of MSE versus bit rate, and a plot of PSNR versus bit rate. That is, we want a plot that shows the MSE between the JPEG compressed image and the original image, versus the bit rate of the JPEG compression. To get the MSE, read the JPEG image back into Matlab, and compute the MSE between it and the original image. To get the bit rate, look at the file size of the jpeg file that Matlab created.
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern