Images of the Russian Empire

Colorizing the Prokudin-Gorskii photo collection

The goal of this project is to construct colored images out of the glass plate images of Prokudin-Gorskii. He was a photographer who captured many beautiful scenes in the Russian empire using red, green, and blue plates, hoping to some day combine them to create the first colored images.

Because the three glass plate images are taken separately, they are not perfectly aligned when placed on top of each other. Thus, I used the Sum of Squared Differences in my algorithm to evaluate possible displacements around the center ([-15, 15] pixels). Once I run SSD on the blue and green images, I align the green image with the given x and y offset, and then do the same with the blue and red images. At first, this worked well on 'cathedral.jpg' but not so well on 'monastery.jpg'. I realized that the black borders of the images were hurting my results and decided to crop out the edges of all my images. This produced great results and the SSD algorithm worked well on 'monastery.jpg' and 'tobolsk.jpg', and even improved 'cathedral.jpg'.

For much larger tif files however, SSD on a [-15, 15] pixel range is not enough to align an image. Increasing the range would be take too much to run, therefore I implemented the Gaussian pyramid algorithm for the larger images. I ran SSD on the smallest image (rescaled by a factor of 8), rescaled the image by a factor of 2 and aligned the image by the resulting offsets multiplied by 2. I ran this recursively until the image is at its original size. This algorithm allows for much less computation and incremental improvements at each level. The results were satisfying on the given images as well as a few that I picked from Prokudin-Gorskii's collection. There is still room for improvement, especially for 'emir.tif' due to different brightness values.

Monastery

G: [2, -3]

R: [2, 3]

Image

Cathedral

G: [2, 5]

R: [3, 12]

Image

Tobolsk

G: [3, 3]

R: [3, 6]

Image

Image
Image
Image

Emir

G: [25, 47]

R: [49, 96]

Image

Harvesters

G: [17, 58]

R: [14, 124]

Image

Icon

G: [17, 41]

R: [22, 89]

Image

Image
Image
Image

Lady

G: [17, 44]

R: [7, 111]

Image

Melons

G: [7, 83]

R: [10, 178]

Image

Onion Church

G: [25, 51]

R: [37, 108]

Image

Image
Image
Image

Self Portrait

G: [26, 77]

R: [34, 175]

Image

Three Generations

G: [12, 52]

R: [8, 112]

Image

Train

G: [4, 43]

R: [32, 89]

Image

Image
Image
Image

Village

G: [10, 63]

R: [21, 136]

Image

Workshop

G: [-1, 52]

R: [-11, 104]

Image


Image
Image

More images from the Prokudin-Gorskii Collection

Lugano Valley

G: [13, 35]

R: [38, 86]

Image

Night camp on a rock on the bank of Chusovaia

G: [17, 58]

R: [14, 124]

Image

Waterfall

G: [10, 33]

R: [15, 116]

Image

Image
Image
Image