1. A method comprising: obtaining, by a computing device, a first set of pixels of a short exposure image and a second set of pixels of a long exposure image, wherein the short exposure image was captured using a short total exposure time (TET) and the long exposure image was captured using a long TET, wherein the long TET is greater than the short TET; aligning the first set of pixels and the second set of pixels such that pixels in the first set of pixels are pairwise matched with pixels in the second set of pixels; comparing a first pixel value to a second pixel value, wherein the first pixel value is of a first pixel in the first set of pixels, the second pixel value is of a second pixel in the second set of pixels, and the first pixel and second pixel are pairwise matched; based on the comparison of the first pixel value to the second pixel value, determining an alignment error value for the first pixel and the second pixel; determining a global alignment error value, wherein the alignment error value for the first pixel and the second pixel contributes to the global alignment error value; determining that the global alignment error value is greater than a threshold tolerance; based on the global alignment error value being greater than the threshold tolerance, determining that the alignment of the short exposure image and the long exposure image has failed; obtaining a fallback exposure image, wherein the fallback exposure image was captured using a fallback TET, and wherein the fallback TET is between the short TET and the long TET; and in response to determining that the alignment of the short exposure image and the long exposure image has failed, providing at least the fallback exposure image as an output image.