Numerical Integration of Riemannian Gradient Flows for Image Labeling