I am new in working with opencv. I have a binary skeleton result and the result of skeleton has some annoying branches and I want to clean up my skeleton and only preserve the main branches. then I want to trace the line which normally has a bifurcation by DFS. I would appreciate if anybody could help me .