Nodes not detected in the rectangles of the second level of this particular image
sakshamgupta1074 opened this issue · 6 comments
Hello, I am facing the same issue mentioned above. Nodes are not created in the rectangles of the second level.
I am trying to get a graph out of this image please suggest to me how to do it.
Hi, node in skeleton image means one pixel has more than 2 neighbours. So In your case, you should use binary_erosion and label to define every block, then trace the path (like sknw do, but you need write it yourself)
another trick with sknw is do a binary_outline, then use sknw to build graph.
and when two node has two path conected eachother, the two node means one!
Hello, thanks for the quick response. I am still not able to get the desired output even after creating the binary outline of the image. Also, your image is not visible on the comment for the another trick. Can you please elaborate the process?
hi, reload it again
Thanks a lot, finally got the desired output!!