Vectorising images

output.jpg (44896Bytes)
img.zip (1306563Bytes)

hi,

i have an image i have got from my robot, i would like to know how to vectorise images,

i have built my program twice, once in vb and in java,

i would like top be able to convert it in real time

here is a test image

 

 

image.zip contains pics of me walking across the lounge room, after they have been processed.

 

edit:

i will be replacing the camera with a range detector. 

 

I know of a convoluted way to vectorize images.

When I was working on a CNC degree, I was allowed to use whatever method I wanted to generate a simple plaque. My work flow consisted of a few freeware programs. I started with a bmp image, I believe, and fed that to potrace, which converted my bmp to a postscript, ps, file. I followed that up with pstoedit, which would convert the ps file to dxf files. Oops too much info. :slight_smile: Anyway potrace should manage your conversion for you, if you are trying to do it after the fact.

just in case you planned on trying it

http://potrace.sourceforge.net/

Hmm…

Doing a quick google search turned up several research leads:

http://contentdm.lib.byu.edu/ETD/image/etd1321.pdf

http://www.parallax69software.com/vectorize.htm

http://research.microsoft.com/apps/pubs/default.aspx?id=69442

Now… what do you intend to do with the vectorized images? I have a feeling it may not work out the way you expect… (things rarely work the way you expect them to)

i am hoping to be able to do

i am hoping to be able to do shape recognition from the vectors,

then be able to do obstacle avoidance

thanks

thanks

i am going to try to use it,  

i was hopeing to be able to convert it in my program, but i a going to try to get it to open the output then i will import its result

I’m not trying to discourage

I’m not trying to discourage you but it probably won’t work…

Try reading about what other people have done. There are many algorithms out there, each has its advantages and disadvantages. Maybe someone has already solved your problem or maybe you can mix and match other people’s solutions, but you still have to do a lot more research.