Text this: A novel technique for contour reconstruction to DEM