Levenberg-Marquardt algorithm function in openCV?

asked 2016-08-03 05:29:58 -0600

gino0717 gravatar image

hi there, I'm trying and learning some optimization method and find the Levenberg-Marquardt algorithm. As I know there is CvLevMarq() function. However, I cannot find any c++ type function of Levenberg-Marquardt algorithm in openCV.

I have find some Levenberg-Marquardt algorithm source code here, but I still prefer if openCV has its own function: http://www.shenlejun.cn/article/show....

thanks for any help!

edit retag flag offensive close merge delete

Comments

the old c-based CvLevMarq was removed in opencv3, and i remember a lot of folks had a quite "mixed" experience with it. rather look out for alternatives.

berak gravatar imageberak ( 2016-08-03 05:36:55 -0600 )edit

A colleague of mine uses the "eigen" library for any optimization and algebra stuff, it should have also LM on bord, afaik opencv has converters from eigen-matrices to opencv-matrices and vice versa. Check it out!

Guanta gravatar imageGuanta ( 2016-08-03 14:57:29 -0600 )edit