A method for manipulating moving objects in panoramic image stitching