-
Notifications
You must be signed in to change notification settings - Fork 2k
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
ch07/orb_self.cpp的代码笔误 #36
Comments
同认为应该是×32。 关于ORB_pattern,我觉得这个ORB_pattern就是随机生成的,但对每一次匹配用的都是同样的ORB_pattern(如果两幅图像中的同一特征点的ORB特征是用的不同的随机点,那肯定是没法匹配的),所以只需要在之前随机生成一次就可以了。代码中只是省略了随机生成的过程,直接给出表就是了。 |
@Mingrui-Yu 多谢解答。感觉还是在第一次使用前用随机数生成更直观一些,不过意义一样无所谓啦 |
感谢各位讨论,已修复 。 |
收到:smile: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
第375行中
int idx_pq = i * 8 + k;
是否应该为
int idx_pq = i * 32 + k;
另外问一下,代码中的ORB_pattern[256 * 4]是否就是选取的特征点附近随机像素?可是这里是人为输入的,是有其他特殊含义吗?
另外书中有个笔误,就不另开issue了。p68倒数第二行的Panglin少了一个o。
The text was updated successfully, but these errors were encountered: