How to get coodinates of border to txt file
Posted: 2012-09-15T05:03:42-07:00
I am Windows user. I have image, where I have deleted background and would like to get the edge of image into txt file. I mean, there would be need to make inner border to the image, which is 1px wide, and then to write the x,y coordinates to txt file. For example, if I have picture of figure with removed background, I would get the edge of the picture. I believe, it would not be hard to do it with help of border function. But what if the image is more hard, and has more empty areas like a ladder? Would it be possible to separate every empty area (inner borders would be separated as loops)? Then the output could have x,y list followed by empty line, then next x,y list , and so on. I am interested if this would be possible. I would like to use the list in macro to use in one program.