Physical optics in photography