Algorithms for Bed Topography Reconstruction in Geophysical Flows