High resolution video mosaicing with global alignment