1. A method for removing a ghost artifact from a multiple-exposure image of a scene, the method comprising: generating a difference mask including a plurality of absolute differences between luminance values of the multiple-exposure image and luminance values of a first image of the scene; segmenting the difference mask into a plurality of blocks; determining a lower threshold based on statistical properties of the plurality of blocks; determining an upper threshold based on statistical properties of the plurality of blocks; generating a refined mask by mapping each of the plurality of absolute differences to a respective one of a plurality refined values, of the refined mask, equal to a function of the absolute difference, the lower threshold, and the upper threshold; and generating a corrected image as a weighted sum of the first image and the multiple-exposure image, weights of the weighted sum being based on the refined mask.