Files You Need for This Lab

You will need to download the following files:

You will need the following image files.

Getting Started

Use the following instructions to get started.

  1. Download the needed files and enter the directory where you saved them.
  2. Make three copies of lab3_skeleton.cc, naming them lab3a.cc, lab3b.cc, and lab3c.cc.
  3. Edit these files to do the three parts of this lab.

Important Notes

In this lab, you will be using the ComplexFFTImage class. This is almost identical to the ComplexImage class, except it has a built-in FFT function. For example, if you want to transform the ComplexFFTImage image you only need to type in:

image.FourierTransform ();

And to reverse the transformation, you only need to type in:

image.InverseFourierTransform ();

Running

Syntax for image interpolation. User specifies coordinates of top_left_row and top_left_column of rectangular region to be enlarged. Suggested command line usage:

For Image decimation, the suggestion is that you set up your program to use the following syntax: