For my first project in CSE 327 Image Processing, I had to combine 3 different color layers of the same subject into a single color image. After combining them, I then had to align the layers.
The algorithm I used for the alignment is to minimize the sum of the square error between the color plates. I did this by adapting MatLab code provided by Prof Alex Berg.
I did all of the preceding for photos of three different subjects.