Project 1: Images of the Russian Empire

The goal of this assignment was to take the digitized Prokudin-Gorskii glass plate images and, using image processing techniques, automatically produce a color image with as few visual artifacts as possible. In order to do this, we extracted the three color channel images, placed them on top of each other, and aligned them so that they form a single RGB color image.

To do this, I used the image pyramid method. I started by turning the largest images into smaller ones by halving the resolution until the image was smaller than 500px by 500px. Then I tried all placements of the Red channel against the Blue channel (and then Green against Blue) within a 70x70 pixel window. The metric I used to determine the best placement offset was taking the sum squared difference between the two image channels. After determining the best offset at this basecase resolution I recursively calculated the best offsets for the higher resolutions while keeping my search window at 10x10 for each subsequent resolution.

One image that heavily failed to align was the Emir photo. This is because the different screens for the different color channels were severely different in pixel brightness (which is what the sum squared difference was calculated on).

Cathedral

Offsets Red: (12,3) Green: (5,2)


Emir

Offsets Red: (236,-214) Green: (48,24)


Harvestors

Offsets Red: (123,14) Green: (59,17)


Lady

Offsets Red: (114,12) Green: (54,28)


Monastery

Offsets Red: (3,2) Green: (-3,2)


Nativity

Offsets Red: (8,0) Green: (3,1)


Self Portrait

Offsets Red: (175,37) Green: (78,29)


Settlers

Offsets Red: (15,-1) Green: (7,0)


Three Generations

Offsets Red: (111,12) Green: (52,15)


Tobolsk

Offsets Red: (7,3) Green: (3,3)


Train

Offsets Red: (86,33) Green: (42,7)


Turkmen

Offsets Red: (116,28) Green: (55,21)


Village

Offsets Red: (137,22) Green: (64,12)