Sequential homography-based alignment for HDR image generation