I've been working on something like that for a while. It extrapolates curves and lines in a bitmap, kind of like CorelDraw's trace function. I wrote it to clean up low-rez digital camera pictures. I'm having lots of problems with it, though. Oh well. Another project for the back burner...

~Zero the Inestimable