A new point correspondence algorithm for image stabilization based on lattice matching