Stabilization of infrared image sequence with rotation, scaling and