-
Notifications
You must be signed in to change notification settings - Fork 279
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
Why I can't get any match correspondence even with the same images? #47
Comments
That is weird. Could you upload the image? I cannot verify it. It might be something related to the unusual image size, but that seems like something I should have noticed before then. |
By the way, MatchSiftData uses both siftData1 and siftData2. It will create per feature cross-references, which means that FindHomography and ImproveHomography won't need siftData2. |
@Celebrandil
|
@Celebrandil |
Hello yiran-THU, can you send me a copy of my version, I have the same configuration as you, but my failure to compile successfully |
Building NVCC (Device) object CMakeFiles/cudasift.dir/Debug/cudasift_generated_cudaImage.cu.obj C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: “cmd.exe” C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: “cmd.exe” |
Please see my comment here. I used this method today to get everything to successfully compile on Windows 10. EDIT: The version of Visual Studio doesn't matter. I managed to get everything to work in VS2017. The solution that I ended up with was the method mentioned in my other comment where I modified the architecture value from the code supplied by Celebrandil. I have a GT640 graphics card so I had to use the lowest available architecture value which I believe is 3.0 (even though the website says 2.1 CUDA only supports as low as 3.0 now.) |
@yangninghua remove duplicated flag -arch=sm_62 works for me |
Thank you for sharing this implementaion!
Environment
Windows 10 64-bit, VS2015
OpenCV3.4.1
CUDA8
1060
Current Behavior:
I have successfully build this repository with no errors.
I have tested mainSift.cpp with the same image (limg and rimg are the same picture) many times, none of them get any match correspondence!
I never chenge the code of mainSift.cpp.
Here is My output of mainSift.cpp:
Expected Behavior:
I expect CUDAsift find the correct correspondence , and show the correspondence between model image and test image.
Besides, the finding homography process is based on both model image's feature and test image's feature. Why there is only siftData1 input to function
FindHomography
andImproveHomography
in mainSift.cpp?I have been troubling in above two problems several days, can you help me for any suggestion?
Thank you!
The text was updated successfully, but these errors were encountered: