PS Poly: A chain tracing algorithm to determine persistence length and categorize complex polymers by shape
Fig 5
(A) Each pixel in the image is centered in a 3 x 3 grid and a string of 1’s and 0’s begins at any point neighboring the centrally located reference pixel. In this example three unique paths (blue triangles) are found, identifying the reference pixel as a branch point. (B) Technique for prevention of branch point overcounting. Test point D has 3 neighboring 1-valued pixels, each of which corresponds to a unique path. Test point C also has 3 neighboring 1-valued pixels, but it does not exhibit three unique paths and is thus not a branch point. The non-unique path is marked by the orange triangle.