Jacob,

if you want to go with a macro solution, I recommend to first transform

the stack so that its slices contain one spatial coordinate and the time

coordinate.

Then, for every slice, use "run("Image to Results")" and from this

matrix get 1D arrays as a function of time by the new table macro functions.

Then, for every slice, fit the 1D arrays with the macro fit function and

write the arrays back to the table by the new table macro functions.

Finally, for every slice, write the table with the new values back using

"run("Results to Image")".

Redo the transform.

HTH

Herbie

::::::::::::::::::::::::::::::::::::::::::

Am 04.05.18 um 04:47 schrieb Jacob Keller:

> Dear Imagers,

>

> is anyone aware of a way in IJ to fit each pixel in a timelapse series to a

> given equation, then output a stack with those fitted curves? Seems very

> parallel-izable, and pretty useful as well, say for bleach correction etc.

> For my current purposes, I would just like to fit a (y=mx+b) line for each

> pixel.

>

> Thanks,

>

> Jacob Keller

>

> --

> ImageJ mailing list:

http://imagej.nih.gov/ij/list.html>

--

ImageJ mailing list:

http://imagej.nih.gov/ij/list.html