# Levenberg-Marquardt algorithm function in openCV?

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!

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.

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!