Using the Image Calculator via the GUI on virtual stacks

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Using the Image Calculator via the GUI on virtual stacks

Stein Rørvik
When using the Image Calculator via the GUI on virtual stacks, we get a warning that the stack must be converted to a real stack first.

That makes sense, but can this restriction be lifted when the "create new window" choice is activated?

If the destination stack is a new stack, then it should not matter if one or both of the source stacks are virtual.

In a macro, this is already allowed, the command

imageCalculator("difference create stack", "virtual stack 1", "virtual stack 2");

works as expected.

Stein

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Using the Image Calculator via the GUI on virtual stacks

Wayne Rasband-2
> On Nov 2, 2020, at 6:01 AM, Stein Rørvik <[hidden email]> wrote:
>
> When using the Image Calculator via the GUI on virtual stacks, we get a warning that the stack must be converted to a real stack first.
>
> That makes sense, but can this restriction be lifted when the "create new window" choice is activated?
>
> If the destination stack is a new stack, then it should not matter if one or both of the source stacks are virtual.

This bug is fixed in the ImageJ 1.53g8 daily build.

-wayne


> In a macro, this is already allowed, the command
>
> imageCalculator("difference create stack", "virtual stack 1", "virtual stack 2");
>
> works as expected.
>
> Stein\

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html