Wrote a filter to do image based alignment using phase correlation (FFT).