![]() Image recognition program that can handle this problem, but no luck finding one that works yet. Somewhere or other out on the web somebody must have a template matching Step 3: Save the Image as a Vector Graphics File. This will have to do if nothing better turns up. Using make node symmetric instead didn't do that, but the spots became all sorts of different sizes. Some of the paths with only two control points turned into lines. For instance, select all, edit paths, select all, make nodes smooth. I tried a few things to get rid of that, but they all had funny side effects. The paths on the spots tend to form sharp "cusp" like corners. In terms of space efficiency it isn't very good though, with at least 2 or 3 control points for each spot. ![]() The path is pretty fair approximation for the plot points. White fuzzed out again a little because the posterized image was saved as a PNG with compression. Here is one I did, red is the generated/filled path, white the original. Or if Inkscape can do a better job, then the method to use there. Can GIMP do that? If not, I would still like to see a worked example of what it can do by tracing the little blobs. The ideal program for this particular attachment would let me specify a shape (a small square or circle) and then it would analyze the image and emit a list of the positions of that shape (in SVG or whatever). Let's use it anyway, I want to see what the result would look like. The one copy of the image in hand is too small and fuzzy to tell. For instance, in the attachment, I don't know if in the original the scatter points were squares, circles, or whatever. Still I would like to see an example of how to do this with GIMP, also for cases where the geometry has been lost. I found a source for the plots in an object format. If you post a sample (small) jpeg I can run it through the step by step for you. This will give you much better rectilinearity. You can then export the path to inkscape. I have tried "trace bitmap", but it didn't turn out too well, probably because I have no idea which variables to set to what to achieve the best results.ĭruban wrote:Just for this specific job, I would open and process the image in GIMP, then select by color or value, and convert the selection to a path. At the end, a 1 cm^2 black square is glued down on every one of those positions.)ĭesired ending point: the isolated squares converted to square objects, the overlapping regions converted to some sort of filled path. (Just to give you a mental picture of what this looks like, imagine that a long game of darts is played, and every time a dart hits the board its position is measured. I don't have the original data, and so cannot replot directly to SVG. Closer to the center of the plot there are more and more overlaps, until at the center, there is just a large black mass. Along the outskirts of the distribution in the plot there are a lot of squares that don't overlap each other. All the black pixels in the image are part of a solid black square, and all the squares are the same size and have sides parallel to the X and Y axes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |