A Method for Merging Digital Images to Obtain a High Dynamic Range Digital Image