CS 631 Assignment #2
Due Date: Apr 5th 1999
Description
In this assignment, you will take two or more images and create an image mosaic using techniques discussed in the lecture. This assignment must be completed in two parts:
canny <input-file> <percentage> <output-file>
If you would like to provide any explanations on the command-line interface, please do so in the form of a usage.
mosaic <input-file1> <input-file2> <init-trans-x> <init-trans-y> <trans-radius> <scale-radius> <output-file>
The transformations used for this assignment will be of the form:
X(u, v) = au + b
Y(u, v) = cv + d
Your program will need to search:
values of b of <init-trans-x> +/- <trans-radius>, stepping by 1
values of d of <init-trans-y> +/- <trans-radius>, stepping by 1
values of (a,b) of (1,1) +/- <scale-radius>, stepping by .01
Accordingly, your program must output parameters a, b, c and d that were discovered and used to form the mosaiced image. The translation and scaling parameters must be computed using the Hausdorff fraction.
Here is a list of web-sites that contain information on image mosaicing. You are encouraged to use them as references in order to do the assignment.
Mosaicing References and Web Links
An example of Panoramic image mosaicing
Paper: Video mosaics for virtual environments
Instructions
- Source code and executables (canny.exe and mosaic.exe)
- Readme.txt containing instructions on how to compile and run your program.
- Makefile (that can be run using nmake) or MS VisualStudio project files. Do not include object files if not necessary for compilation.
- Send hw2.zip as an attachment to warkhedi@cs.cornell.edu
- The subject header of your e-mail must contain the string "CS631: HW2" (ignoring the whitespaces & case).
- The assignment should be submitted on or before 11:59pm Apr 5th 1999.
- This assignment will be graded on a scale of 10.
- The grade will primarily be based on correctness of your mosaicing implementation.