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

OpenCV Error: Iterations do not converge (The algorithm stopped before its convergence. The correlation is going to be minimized. Images may be uncorrelated or non-overlapped) in cv::findTransformECC, file C:\build\master_winpack-build-win64-vc14\opencv\modules\video\src\ecc.cpp, line 540 #52

Open
wutao720912 opened this issue Jan 30, 2018 · 4 comments

Comments

@wutao720912
Copy link

When I use the code you supply in image alignment, I uploaded two .png file, sometimes it can run correctly, but sometimes it won't and shows the title error. Could you help me to figure it out?
Thank you!

@mauckc
Copy link

mauckc commented May 29, 2018

You should make sure you are using the correct versions.

You should make the title of this issue less long :)

@zszen
Copy link

zszen commented Aug 2, 2018

@wutao720912 have the same problem. How to ignore the error. It broken progress.

@spmallick
Copy link
Owner

If the algorithm does not converge, it means it may not be the right one for these set of images. You should check our feature-based image alignment.

https://www.learnopencv.com/image-alignment-feature-based-using-opencv-c-python/

@nyck33
Copy link

nyck33 commented Nov 18, 2019

@spmallick I have to read that paper on ECC because if it s not feature-based, I am unsure what it is based on.

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

5 participants