Abstract Although the excitation-time imaging condition offers a lower memory consumption and higher computational efficiency compared to cross-correlation imaging condition, it has not been widely used in industrial applications because of the accuracy problem of traveltime calculation and the influence of low-wave-number noise. In this paper, we introduce the physics-informed neural network (PINN) algorithm to achieve a high-precision traveltime calculation of the source forward wavefield. Subsequently, we introduce a technique for high-precision wavefield decomposition of the reverse-time wavefield via the optical flow vector, enabling us to realize a correlation-weighted stacking imaging of each wavefield. Model experiments and real data processing show that the proposed traveltime calculation algorithm based on PINN offers high accuracy and good applicability in the excitation time reverse-time migration imaging of complex models, and correlation-weighted stacking imaging based on optical flow vector-based wavefield separation can significantly suppress the noise with low wavenumber and achieve high-precision imaging of complex models.