The goal of this project was given glass plate images containing red, blue, and green negatives, to colorize them into a single image. To do this, I used an image pyramid to represent the image at multiple scales and calculated the optimal displacement using SSD (Sum of Squared Differences) while decreasing the window for valid displacements. Each iteration of the pyramid, I would double the scale and displacement of the previous level, decrease the displacement window size, and again look for the optimal displacement. Once I reach the original image size (bottom of pyramid), I use the displacement I found to align green onto blue and then repeat the same method for red onto blue. Then, with the green/blue, red/blue, and blue images, I can create a colorized image.

I ran into a problem where .tif images would be slightly overlapped because of borders, so I chopped off 10% of each image from left/right to fix this. Chopping off the edges allows for a more accurate displacement to be calculated.

Colorized Images and offsets:

GB:[1, -1] RB: [7, -1]

GB:[48, 19] RB: [96, 17]

GB:[58, 10] RB: [124, 8]

GB:[40, 16] RB: [90, 22]

GB:[57, -6] RB: [118, -16]

GB:[-6, 0] RB: [9, 1]

GB:[3, 1] RB: [7, 1]

GB:[76, -2] RB: [174, -2]

GB:[7, 0] RB: [14, -1]

GB:[52, 6] RB: [110, 8]

My Images from the collection: (they're kinda blurry cause they're small :\ I could only find images this large from the library of congress)

GB:[-295, -228] RB: [-295, -232]

GB:[-295, -231] RB: [-295, -231]