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

请问为什么不直接只用相关性匹配的接口呢 #32

Open
Liao-lin opened this issue Mar 20, 2023 · 4 comments
Open

请问为什么不直接只用相关性匹配的接口呢 #32

Liao-lin opened this issue Mar 20, 2023 · 4 comments

Comments

@Liao-lin
Copy link

Liao-lin commented Mar 20, 2023

请问matchTemplate为什么不直接使用CV_TM_CCORR_NORMED或者CV_TM_CCOEFF_NORMED而是使用的CV_TM_CCORR然后再自己CCOEFF_Denominator计算得分呢,是因为opencv自带的归一化互相关速度太慢吗还是别的原因呢

@Liao-lin Liao-lin changed the title 为什么不直接只用相关性匹配的接口呢 请问为什么不直接只用相关性匹配的接口呢 Mar 20, 2023
@DennisLiu1993
Copy link
Owner

分開寫才能用SIMD優化CV_TM_CCORR

@Liao-lin
Copy link
Author

Liao-lin commented Apr 3, 2023

好的,谢谢

@ershat-dl
Copy link

@DennisLiu1993 TM_CCORR 后 使用 CCOEFF的归一化操作的目的 除了 使用 SIMD 之外 还有别的原因吗?
我让模板图像旋转,并带上掩码匹配时 找不到了。 这里该如何解决好?

@ershat-dl
Copy link

如果 TM_CCORR 带上掩码,是不是对CCOEFF_Denominator方法里增加掩码的操作?
image

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

3 participants