There are a lot of such programs called vectorizers.
I used some of them several years ago (don't remember the names).
Choose any you like: http://www.google.com/search?q=vectorizer
![more](/images/more.svg)
... of converting JPEG images to contour lines. In order to obtain ... editing tool, such as Adobe Photoshop. First, go to the Image ... image in Adobe Photoshop, go to Filter, Stylize, hit Trace Contour and select ...
![more](/images/more.svg)