Name: Tony Tu

SID: 3033048631

Introduction

The Prokudin-Gorskii image collection from the Library of Congress is a series of glass plate negative photographs taken by Sergei Mikhailovich Prokudin-Gorskii. For each scene, three photos are taken, each representing a color channel corresponding to red, green or blue. We can overlay the three color channels and recreate the colored image. However, the channels are not perfectly aligned and the goal of this project is to perform automatic alignment of the channels and remove the artifacts caused by overlaying.

The following algorithms are implemented for this task:

Results on example images

Offsets

Image Name G to B alignment R to B alignment
castle.tif(36, 4)(95, 4)
cathedral.jpg(5, 1)(12, 3)
emir.tif(53, 27)(107, 40)
harvesters.tif(55, 10)(117, 11)
icon.tif(38, 16)(90, 22)
lady.tif(56, 10)(120, 13)
melons.tif(79, 9)(177, 13)
monastery.jpg(-3, 2)(3, 2)
onion_church.tif(52, 30)(107, 34)
self_portrait.tif(81, 27)(175, 37)
three_generations.tif(58, 14)(115, 12)
tobolsk.jpg(3, 2)(6, 3)
train.tif(40, 8)(84, 28)
workshop.tif(50, -2)(101, -12)

Other examples from Prokudin-Gorskii collection

Extra Credit

Border Cropping

As described in the introduction, border cropping is performed by calculating average gradient of rows and cropping those that exceeds a given threshold. Effects are shown below with a few examples.

Edge detection

Edge detection (Canny) is performed in the exhaustivee search algorithm to increase performance.