Curve Fitting using Levenberg-Marquardt or similar
Posted by
Andreas Pohlmann on
Nov 09, 2006; 11:10am
URL: http://imagej.273.s1.nabble.com/Curve-Fitting-using-Levenberg-Marquardt-or-similar-tp3701042.html
Hi,
Does anyone know how I can implement a curve fit (based on Levenberg-Marquardt, or similar) in ImageJ?
*** THE PROBLEM ***
I am trying to convert a Matlab program that I wrote into an IJ plugin, so it would be usable by anyone (not just people with a Matlab license). I have to do some curve fitting of a function with several exponentials and 5 parameters (2 compartment model) - As I understand, not something the in IJ available simplex algorithm would be suitable for.
*** WHAT I FOUND SO FAR ***
I couldn't find any suitable plugin so I looked for a java implementation of LM. Wikipedia pointed me to open source Java implementations offered by
J.P. Lewis (
http://www.idiom.com/~zilla/Computer/Javanumeric/index.html)
and J. Holopainen (
http://users.utu.fi/jaolho).
I had a look at those but couldn't figure out how to use the code. I don't have a huge experience with IJ plugins (have written 2, usually write macros) and I am not a java expert (have average knowledge of C++).
*** HELP? ***
I was hoping that there is someone out there that has implemented a LM fit in IJ or java and could help me.
I would be also interested in any suitable alternative to LM - the fit is quite robust as all parameters control rather independent aspects of the curve (x0, y0, up slope, down slope, peak height).
If I don't find a solution I would have to ditch the project. That would be a pity as I spent 2 yrs developing the Matlab program and I would really like people to be able to use it.
Thanks a lot for your time and help!!
Andreas
__________________________________________________________________________
Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach!
Mehr Infos unter
http://freemail.web.de/home/landingpad/?mc=021131