Assignment #1:

CS 591/691: Computer Vision

 

Colorizing the Prokudin-Gorsky photo collection

 

In this assignment you need to use MATLAB to colorize the digitized Prokudin-Gorsky images with as few visual artifacts as possible. A few of the Prokudin-Gorsky images are in:

http://www.cs.umass.edu/~elm/vision/assignment_1/pics/

The process contains the following parts:

1) Use MATLAB to cut each "triplet" in three images, each of which contains a color channel (red/blue/green, although not necessarily in that order),

2) You will be combining these images in various orders to form a color image in Matlab. Matlab will interpret whichever image is first in the triplet to be the red channel. The second image will be assumed to be the green channel. The third is the blue. Thus, you may need to try different orderings of the image to get it right.

3) You will need to shift the second and third images relative to the first. This can be done using the circshift function. If you look carefully at the composite images after each shift, you can predict which shifts will be necessary to make the images look good.

In this assignment we will assume that a simple x,y translation model is sufficient for proper alignment.  The resulting color images will inevitably exhibit some artifacts due to color fading, blemishes on the glass plates, noise, etc.  In later assignments, we will explore ways of aligning the images automatically.

 

You will need to turn in two things.

•  For a SINGLE IMAGE, turn in the sequence of MATLAB commands used to make the composite for this image. This sequence of commands should work assuming the original images are in the same directory as the code, and that the image has the same name that it had on the original web page.

•  I want you to send me the final composites for any two of the images in the data directory. Email the final images and the sequence of matlab commands (in a text file) to me (elm "at" cs.umass.edu) with a subject line of "CS370 Assignment 2". This assignment is due on Thursday, Sept. 17.