A new method allows nearly perfect optical sharpness for scenes requiring a wide depth of field, with just two photos.