Image morfing Assignment

Release Time and Deadline

Release Time: September 29, 11:59 PM

Submission Deadline: October 13, 11:59 PM

1. Download the Code and Unit Test Data

You can download the complete code and test images as a zip file from the following link:

Assignment1.zip

This zip file contains all the source code required to implement the image morfing algorithm, along with example images for testing.

2. How to Compile and Run the Code

2.1 Compiling the Code

Follow these steps to compile the code:

  1. Navigate to the assignment folder:
  2. cd /path_to/Assignment1

  3. Create a build directory:
  4. mkdir build

  5. Navigate to the build directory:
  6. cd build

  7. Generate build files using CMake:
  8. cmake ..

  9. Compile the code:
  10. make

Once the code is compiled, you will have an executable named ImageMorfingMethod in the build directory.

2.2 Running the Image morfing Program

To run the image morfing program, use the following command:


./ImageMorfingMethod --in ../example_data/F.bmp --dest ../example_data/F_rotated.bmp --out ../result
        

Here’s what each argument means:

The program will save the morphed images as output_00.jpg, output_01.jpg, ..., up to output_30.jpg in the specified output folder.

3. File Breakdown

Below is a brief description of what each source file in the project does.

3.1 Header Files

3.2 CPP Files

4. Files You Should Mainly Be Touching and Working With

The main files you need to work with for the assignment are:

5. Expected Submission

When you complete the assignment, your submission should be a zip file containing the following:

7. References

If you need more information about the image morfing algorithm, please refer to the lecture slides and the paper Feature-Based Image Metamorphosis by Beier and Neely, which describes the core principles of the technique.

6. Policy

*You are not allowed to distribute your solution to this homework either online or to other students without permission.