I am working on trying to identify fiber intersections using the fiber network's skeleton. I am trying to improve the accuracy of the calculation of the intersections. For most of the image the branchpoints method is efficient, however some portions read two branchpoints where it is really one fiber intersection. For example:
The two magenta pixels correspond to calculated intersections using branchpoints (gives 2 intersections), however ideally that would be recorded as a single branch point in the location between the two pixels.
I have considered doing a dilation of the branchpoints and then finding the centroids to eliminate branchpoints that are close together, but was wondering if there is a better method?