Login  Register

Re: common functions / installing multiple macro files

Posted by Michael Schmid on Aug 08, 2009; 9:19am
URL: http://imagej.273.s1.nabble.com/common-functions-installing-multiple-macro-files-tp3691526p3691529.html

Hi Ben,

you can do this directly with the Fit_Polynomial plugin.
  http://imagejdocu.tudor.lu/doku.php?id=plugin:filter:fit_polynomial:start

The plugin uses the old approach for a linear fit, from the days of
programmable pocket calculators: Creating a matrix, and a very simple
matrix inversion algorithm. For well-behaved problems, with fit parameters
having the same order of magnitude, it is works well up to a few dozen fit
parameters. Otherwise, more elaborate methods such as in the JAMA package
are needed.

Michael
______________________________________________________________________



On Sun, August 2, 2009 22:45, Benjamin Gilbert wrote:

> Is there likely to be support for multivariate fit functions in the
> near future? I would like to fit a 2D polynomial to make an image
> background.
>
> many thanks
>
> ben