Development of a multiview time-domain imaging algorithm with a Fermat correction