Login  Register

Re: common functions / installing multiple macro files

Posted by Wayne Rasband on Aug 03, 2009; 1:06am
URL: http://imagej.273.s1.nabble.com/common-functions-installing-multiple-macro-files-tp3691526p3691530.html

On Aug 2, 2009, at 4:45 PM, Benjamin Gilbert wrote:

> Thanks for the very clear reply. I learnt how to store global  
> variables from an earlier post to the list using  
> call("ij.Prefs.get", <key>, <value>) ... but perhaps a single  
> toolset would be a simpler approach!
>
> 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.

The Nonuniform Background Removal plugin at

    http://www.cs.unc.edu/~cquammen/imagej/nonuniform_background_removal.html

uses the JAMA package (http://math.nist.gov/javanumerics/jama/) to fit  
2D cubic polynomials to images. The installation instructions say to  
copy Jama-1.0.2.jar to ImageJ/jre/lib/ext but it also works if you  
copy it to the plugins folder.

-wayne