Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于分割后并查集聚类中的Traverse函数 #7

Open
hzdsdhr opened this issue May 7, 2020 · 0 comments
Open

关于分割后并查集聚类中的Traverse函数 #7

hzdsdhr opened this issue May 7, 2020 · 0 comments

Comments

@hzdsdhr
Copy link

hzdsdhr commented May 7, 2020

@YannZyl 您好!非常感谢您的分享,学到很多。有一个问题问一下,在obstacles_lidar_2_cnn.md中分析的并查集部分中的Traverse函数,“每棵树只有一条path的is_center=true", 其他都是false,导致后续合并时一棵树只与另一棵树的指定支路去合并。” 不太明白为什么不把所有的path的is_center设为true,这样相近的所有树及分支都能够合并,只与一个path合并的话,不会漏掉与这一个path距离远而与其他path距离较近的同一个物体上的点吗?如果我想尝试合并所有相近的树和分支,是不是应该把if (x->traversed == 2)改为if(x->traversed == 2 || x->traversed == 1)?
谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant