Homework 1 - Digital Image Processing - Practice Problems | ECE 468, Assignments of Electrical and Electronics Engineering

Material Type: Assignment; Class: DIGITAL IMAGE PROCESSING; Subject: Electrical & Computer Engineer; University: Oregon State University; Term: Unknown 1989;

Typology: Assignments

Pre 2010

Uploaded on 08/30/2009

koofers-user-7tj-2
koofers-user-7tj-2 🇺🇸

9 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ECE468: HOMEWORK 1
due 01/15
1) Problems from the textbook: 2.10
2) Write a MATLAB code for zooming and shrinking an image by bilinear or bicubic interpolation.
The input to your program is: (i) image, (ii) zooming/shrinking factors along the image rows and
columns, and (iii) interpolation method. Use the image of Notre Dame cathedral as input (available
on the class website). Your report should include:
2.1) M-file with a well commented code;
2.2) Figure 1 showing the input image that is zoomed by 1.7 along rows and 2.4 along columns
using: (a) bilinear interpolation, and (b) bicubic interpolation; The caption of Figures 1a and 1b.
2.3) Figure 2 showing the input image that is shrunk by 4.3 along rows and 3.6 along columns
using: (a) bilinear interpolation, and (b) bicubic interpolation; The caption of Figures 2a and 2b.
(Hint: Use the following MATLAB commands: ’imread’, ’imshow’, ’imwrite’, ’meshgrid’, ’interp2’)

Partial preview of the text

Download Homework 1 - Digital Image Processing - Practice Problems | ECE 468 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

ECE468: HOMEWORK 1

due 01/

  1. Problems from the textbook: 2.

  2. Write a MATLAB code for zooming and shrinking an image by bilinear or bicubic interpolation. The input to your program is: (i) image, (ii) zooming/shrinking factors along the image rows and columns, and (iii) interpolation method. Use the image of Notre Dame cathedral as input (available on the class website). Your report should include:

2.1) M-file with a well commented code;

2.2) Figure 1 showing the input image that is zoomed by 1.7 along rows and 2.4 along columns using: (a) bilinear interpolation, and (b) bicubic interpolation; The caption of Figures 1a and 1b.

2.3) Figure 2 showing the input image that is shrunk by 4.3 along rows and 3.6 along columns using: (a) bilinear interpolation, and (b) bicubic interpolation; The caption of Figures 2a and 2b.

(Hint: Use the following MATLAB commands: ’imread’, ’imshow’, ’imwrite’, ’meshgrid’, ’interp2’)