Login  Register

Using the Image Calculator via the GUI on virtual stacks

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

Using the Image Calculator via the GUI on virtual stacks

Stein Rørvik
309 posts
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
| More
Print post
Permalink

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

Wayne Rasband-2
427 posts
> 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