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

report bug #1

Open
Muxin-Cloud opened this issue Dec 4, 2019 · 2 comments
Open

report bug #1

Muxin-Cloud opened this issue Dec 4, 2019 · 2 comments

Comments

@Muxin-Cloud
Copy link

按照项目环境要求配置好完全一致的环境后,当我们想要编译源代码时,GetSaliencyMap()函数中第五行detector->detect(img, kpts, cv::noArray(), dpts); 报错:"cv::Feature2D::detect":没有重载函数接受4个参数; 然后我们查阅opencv文档,发现应该去掉第四个参数dpts,然后编译通过,运行时又在GetSaliencyMap()函数中从cv::drawKeypoints(c_img, kpts, d_img, cv::Scalar::all(-1), cv::DrawMatchesFlags::DEFAULT); 出现异常中断程序运行。

当我们使用您编译好的可执行文件FRF.exe时,按照项目配置将输入图像放入指定目录下,程序中途崩溃,无运行结果。

希望您能够抽空帮忙解答以上问题,仅用于学术实验对比。

@chuong
Copy link

chuong commented Nov 3, 2020

Same problem here. I got error
Error (active) E0135 namespace "cv" has no member "DetPoint" FRF D:\JointRF\code\FRF\MatchAndFuse.cpp 33

I couldn't find where DetPoint comes from. Please help fix this problem. Thanks.

@chuong
Copy link

chuong commented Nov 3, 2020

Sorry I found the declaration of cv::DetPoint in types.hpp in the same folder and a modified version of surf.hpp and surf.cpp. Do these file need to be copied to replace the same ones from OpenCV 3.0 before compiling it and link to this project?

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