Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL and COMPUTER ENGINEERING ECE 2025 Spring 2009 Lab #7: Interpolation for Color Digital Cameras Date: 24 Feb. – 2-Mar. 2009 You should read the Pre-Lab section of the lab and do all the exercises in the Pre-Lab section before your assigned lab time. The Warm-up section of each lab must be completed during your assigned Lab time and the steps marked Instructor Verification must also be signed off during the lab time by one of the laboratory instructors. After completing the warm-up section, turn in the verification sheet to your TA. It is only necessary to turn in Section 4 as the lab report for this lab. More information on the lab report for- mat can be found on t-square under the INFO link. Please label the axes of your plots and include a title and Figure number for every plot. In order to reduce orphan plots , include each plot as a figure embedded within your report. This can be done easily with MATLAB’s notebook capability. For more information on how to include figures and plots from MATLAB in your report file, consult the INFO link on t-square , or ask your TA for details. Forgeries and plagiarism are a violation of the honor code and will be referred to the Dean of Students for disciplinary action. You are allowed to discuss lab exercises with other students and you are allowed to consult old lab reports, but you cannot give or receive written material or electronic files. Your submitted work should be original and it should be your own work. The lab report for this week will be an Informal Lab Report. The report will be due during the period 3–9 Mar. at the start of your lab. 1 Introduction The goal of this lab is to learn how to implement FIR filters in MATLAB, and then study the response of FIR filters to various signals, including images or speech. In the experiments of this lab, you will use firfilt() , or conv() , to implement 1-D filters and conv2() to implement two-dimensional (2-D) filters. The 2-D filtering operation actually consists of 1-D filters applied to all the rows of the image and then all the columns. In addition, a primary objective of this lab is to learn how interpolation is used to create color images for a digital camera. For the interpolation of images, you will use FIR filters in MATLAB. 1.1 Discrete-time Convolution GUI To visualize filtering there is a MATLAB GUI for convolution of discrete-time signals, dconvdemo . This is exactly the same as the MATLAB functions conv() and firfilt() used to implement FIR filters. This demo is part of the SP-First Toolbox. 1.2 Overview of Filtering An FIR filter is defined as a discrete-time system that converts an input signal xOEnŁ into an output signal yOEnŁ by means of the weighted summation formula: yOEnŁ D M X k D b k xOEn kŁ (1) 1 Equation (1) gives a rule for computing the n th value of the output sequence from present and past values of the input sequence. The filter coefficients f b k g are constants that define the filter’s behavior. As an example,are constants that define the filter’s behavior....
View Full Document

This note was uploaded on 10/20/2009 for the course COE 1 taught by Professor Many during the Spring '09 term at Georgia Tech.

Page1 / 13


This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online