malashinroman / CSVA

Other
5 stars 1 forks source link

please win10 cmakelist.txt #3

Closed tuteming closed 2 weeks ago

tuteming commented 1 year ago

please win10 cmakelist.txt thanks

tuteming commented 1 year ago

my case is: cuda 11.6 boost_1_71_0 opencv 4.5.4 with contrib

compile all is ok, obtain 6 files. when run match_aero.exe, we get ///// d:\2023_new\CSVA\build\bin\Release>matchaero im1.jpg im2.jpg 0.5 0.5 1 im1.cols=800 im1.rows=533 im2.cols=800 im2_.rows=533 fast regime image 1: im1.jpg image 2: im2.jpg scale coeff 1: 0.5 scale coeff 2: 0.5 ok0

d:\2023_new\CSVA\build\bin\Release> /////// no any results. in aerospace_demo.cpp line 236, we set std::cout << "ok0 " << std::endl; OpenCVfeatures feat; std::cout << "ok1 " << std::endl;

    std::vector<cv::DMatch> matches = feat.getLocalPatchMatches2(image1_process, image2_process, kpts1, kpts2, type, 1);
std::cout << "ok2 " << std::endl;

without ok2 appear.

in feature_extractors.cpp line 508,we set std::vector OpenCVfeatures::getLocalPatchMatches2(cv::Mat image1, cv::Mat image2, std::vector& points1, std::vector& points2, int type, int ConsoleOutput) { cv::Mat descriptors_1, descriptors_2; clock_t start = clock(); std::cout << "here1 " << std::endl; points1 = getKeyPoints(image1, type, ConsoleOutput); std::cout << "here2 " << std::endl; also without here1 and here2 appear.

please help, thanks