I used the Sum of Square Differences technique and circshift to align these images. I also aligned on the Green image - when I implemented the basic mode, the green produced better results. I found that all of these images turned out ok, with the exception of one. I have shown two versions of that one - one with image pyramids, one without. In addition, I didn't apply ssd to the whole image matrix. I only used the center most portion (1/4 of the image in the center). The image pyramidss were made with 4 images (including the fullsize).
R align: [-5 -1] B align: [7 -1] | |
R align: [-5 -2] B align: [4 -1] | |
R align: [3 -1] B align: [-2 0] | |
R align: [-1 0] B align: [9 0] | |
R align: [-6 2] B align: [7 -2] | |
IP version (bad) R align: [-6 -2] B align: [60 -60] | |
Exhaustive Search (good) R align: [-6 -2] B align: [60 -60] | |
R align: [-6 -2] B align: [8 0] | |
R align: [-6 -2] B align: [7 0] | |
R align: [-7 -1] B align: [8 -1] | |
R align: [-8 0] B align: [8 -1] | |
R align: [-8 -1] B align: [10 0] | |
R align: [-5 -2] B align: [6 1] | |
R align: [-8 0] B align: [5 0] |
R align: [-43 -6] B align: [43 26] | |
R align: [-13 8] B align: [121 -6] | |
R align: [-60 -13] B align: [69 0] | |
R align: [-24 -20] B align: [47 14] | |
R align: [-55 -8] B align: [61 4] | |
R align: [-77 -45] B align: [85 32] | |
R align: [-70 -38] B align: [76 24] |