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

大佬你好,使用中发现一处问题,来反馈一下 #195

Open
ylancf opened this issue Feb 18, 2023 · 1 comment
Open

大佬你好,使用中发现一处问题,来反馈一下 #195

ylancf opened this issue Feb 18, 2023 · 1 comment

Comments

@ylancf
Copy link

ylancf commented Feb 18, 2023

在line2Dup.cpp 文件 matchClass方法中 我匹配中 我看到 是先执行 "弱匹配" 在执行 "强匹配", 但在1179行处,使用的却是 if (score > threshold){....} , 这导致了使用时设置的阈值的和结果的阈值不匹配, 比如我设定 阈值为80, 结果显示匹配度有92, 我设置为90,则结果显示未匹配到. 我不知道怎么修改合适就简单粗暴的改成 if (score > threshold/2.0){....}, 现在结果符合设定的阈值了

@Leeaoson
Copy link

因为这个阈值是粗匹配的阈值,粗匹配大于阈值的点才会进行精匹配。比如匹配度为92的点可能在粗匹配时匹配度并不到90,所以粗匹配时就被筛掉了,所以才找不到。

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

2 participants