1. A method for improving depth-from-defocus measurements for an imaging device, comprising: receiving a sequence of input depth-from-defocus measurements, wherein each measurement comprising at least a depth estimation, an ambiguity indication, and a confidence level; combining a current measurement with at least one previous measurement based on at least the current measurement's ambiguity indication and the at least one previous measurement's ambiguity indication; and if an improved depth estimation, a reduced ambiguity indication, and a confidence level exceeding a threshold are calculated, responsively performing at least one of (a) calculating, storing, and outputting the improved depth estimation, (b) repeating the method with another available input measurement, and (c) ending the method.