It is invaluable to discover and understand ultrafast dynamic processes, e.g., femtosecond laser ablation for precise machining and manufacturing,1 fast ignition for inertial-confinement fusion,2 laser filaments for atmospheric analysis,3 shockwave interactions in living cells,4 chemical reactions and soliton molecule dynamics,5–7 semiconductor thermal dynamics, and photosynthetic light harvesting.4,8 As a result, ultrafast optical imaging, which can realize blur-free visualization of transient dynamics, has attracted considerable attention for decades from researchers in many fields, such as physics, chemistry, optical engineering, industrial manufacturing, energy, materials science, and biomedicine.9 Time-resolved imaging based on the pump–probe methods10,11 works very well for reproducible transient dynamics with a high repetition rate because its sampling interval (down to attoseconds) and temporal resolution are on the order of femtoseconds. However, this approach fails to work for events that either have a low repetition rate or are nonrepeatable.