1. A computer-implemented method, comprising: performing, by one or more computing devices: determining a particular process to be applied to two or more images, wherein the particular process requires N parameters to be calculated for processing an image; determining, from metadata corresponding to the two or more images, that the two or more images were captured with a same camera/lens combination and with a same camera and lens settings; in response to said determining that the two or more images were captured with the same camera/lens combination and with the same camera and lens settings: determining one or more constraints on a solution space for an optimization problem; solving the optimization problem for one or more of the two or more images to estimate a set of values for the N parameters within the solution space as constrained by the one or more constraints; and applying the particular process to the two or more images to generate one or more output images, wherein the set of estimated values for the N parameters is used by the particular process for each of the two or more images.