Ask Your Question

Revision history [back]

How can I use LMSolver to solve a non linear system?

Hi,

I need to solve a non-linear system for image processing in opencv. I have found that in file modules\calib3d\src\fundam.cpp there is a code using LMSolver (define in code modules\calib3d\src\precomp.hpp). System can be solved using Levenberg-Marquardt if class LMSolverImpl defined in levmarq.cpp.

Now I don't know how to include all this in my own file. So I have choose an another way which is not very nice but it seems working. It is in this file.

Is it possible to do samething without copy class LMSolver, LMSolverImpl in my own files?

Thanks for you answer.