Text this: Reverse time migration in euclidean and riemannian coordinates