1. A method for multiframe reconstruction of an object comprising: acquiring a set of K images of the object at different acquisition settings, where K≧2; for a (k+1)st of the K acquired images, where k≧1, after acquiring the first k images, determining the acquisition setting for the (k+1)st image based at least in part on selecting the acquisition setting to optimize a cost function, wherein one component of the cost function is based on an error between (a) an estimated image ŝ k+1 that is a multiframe reconstruction of the object from the (k+1) acquired images and (b) an ideal image; and applying multiframe reconstruction to the set of K images, wherein the multiframe reconstruction estimates the image ŝ K from the K acquired images based on minimizing the error between the estimated image ŝ K and the ideal image.