|
On Monday 02 August 2010, you wrote:
> there be someone who has already
implemented imagecalculator with objects.
> it would be really helpful for
me if someone shares their knowledge on
> this topic.
Record your actions
as javascript instead of a macro That will give you a clue of how to call
the ImageCalculator class from Java.
In Java you would call something
like:
ImageCalculator ic = new ImageCalculator();
ImagePlus imp5 =
ic.run("Add create", imp3, imp4);
You will see that the JavaScript recorded
script is quite similar to the above.
Cheers,
G.
|