The idea of path-integral imaging is to sum over the migrated images obtained for a set of migration velocity models. Velocities where common-image gathers align horizontally are stationary, thus favoring these images in the overall stack. The overall image forms with no knowledge of the true velocity model. However, the velocity information associated with the final image can be determined in the process. By executing the path-integral imaging twice and weighting one of the stacks with the velocity value, the stationary velocities that produce the final image can then be extracted by a division of the two images. The velocity extraction, interpolation, and smoothing can be done fully automatically, without the need for human interpretation or other intervention. A numerical example demonstrated that quantitative information about the migration velocity model can be determined by double path-integral migration. The so-obtained velocity model can then be used as a starting model for subsequent velocity analysis tools like migration velocity analysis or tomographic methods.