How was the image of the lines created? Is it possible to go back to the source and get a vector file? There are applications out there that can trace edges in an image and create a vector output. My experience with them has shown minimal success but it greatly depends on the image.
If the image is really a heightmap (just various shades of gray representing different elevations) there is an extension that will generate geometry from a bitmap image.