Mobile app version of vmapp.org
Login or Join
Pope1402555

: Replace bitmap circles to vector circles / shape recognition I have a raster image of a field of various size circles that I want as a vector file. The image is in high resolution and all

@Pope1402555

Posted in: #Halftone #ImageTrace #Vector

I have a raster image of a field of various size circles that I want as a vector file. The image is in high resolution and all of the circles are well defined as circles. None overlap.

Is there a way (program, plugin, etc.) to trace a bitmap image with a preset key shape? Put differently, I want to tell the program to only look for circles as it builds the vector version. The program would scan the bitmap file for anything it could recognize as a circle and only output circles.

I am interested in circles (I am trying to convert a halftone photo into a vector file) but other people might find other shapes useful.

Current findings


Potrace seems to do this with polygons (not circles)
It seems ArcGIS might allow this
AutoTrace seems to give a lot of control in the vectorizing process but not this
OCR programs can recognize circles but cannot replace them with proportional vector images.


Notes


I am working with thousands of dots, hand tracing is not an option
I saw another question on this site about trying to do something similar in Illustrator. I now cannot find the question. A person commented that Illustrator does not have shape recognition capabilities. I am not restricting my search to Illustrator.


Update: a messy workaround

In Illustrator if I use a small enough section of the image, Illustrator is able to trace all the dots, though not as circles. I then expand the appearance and select all the shapes. I use Effects > Convert to Shape > Ellipse. This does not guarantee circles, but does give ellipses. The output ellipses are much larger than the input circles and I need to judge how much to shrink them all.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Pope1402555

1 Comments

Sorted by latest first Latest Oldest Best

 

@Vandalay110

OCR programs can recognize circles but cannot replace them with proportional vector images.


If you can recognize the circle then you can make the vector shape yourself. Just write the data to a file or use an API to a software that has a vector canvas. Or just dump the circle data into a EPS file then open it up in illustrator. Something to start

But for examle Mathematica can do this inside its toolset with no problems.

Im in a bit of a hurry as i need to get this one mechanical drawing to the machinists ASAP. SO i might write a more in depth answer later.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme