Time-lapse and high dynamic range photography combined