Hi Brian,
you can use the Blend Images Plugin
http://rsb.info.nih.gov/ij/plugins/blend-images.htmlit does either
(1-a)*currentImage + a*secondImage
or
currentImage + a*secondImage
(the latter iuf you click "fix weight 1 = 1")
If you need two independent factors, you can easily modify it.
Michael
_______________________________________________________________________
On Tue, August 11, 2009 22:58, Brian Wilt wrote:
> Hello,
>
> In the Process -> Image calculator ... dialog, there are some basic
> options, (add, subtract, multiply, etc.). I was wondering if there
> was an easy way to do linear combinations of images / stacks, ie.
> NewImage = a * OldImage1 + b * OldImage2, where I can specify a and b.
>
> Any suggestions? Or do I have to write my own plugin?
>
> Much appreciated, Brian
>