MULTI-affine misalignment removal from bracketed images for hdr photography