I have an image (see attached) which consists of edges. I need to associate edge pixels into individual edges. Each pixel belonging to only one edge. The ultimate goal is to measure the length of an edge and compare to the straight line distance from the starting to ending pixels in that edge. Edges are generally well separated; that is edges are generally further apart than adjacent pixels within an edge.
Thu, 02/28/2013 - 09:02 am
I am working on a procedure that identifies the nearest neighbor (within some permitted level of separation) to a given pixel and thus jumps from pixel to pixel to define a connected edge. This seems to be a brute force method; can anyone suggest a more elegant and simpler method?