Question about math on slice in stack ves in a hyperstack

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

Question about math on slice in stack ves in a hyperstack

Cammer, Michael-3
When doing math on a simple stack, a window pops up asking whether to operate on the slice or on the whole stack.


When operating on a hyperstack, however, the math is immediately applied to the entire hyperstack.  Is this standard behavior or a bug?


By using a macro command with a  hyperstack

  run("Multiply...", "value=0.5 slice");

operates exclusively on the single slice, channel, frame that is active.


Also, are there plans for the future that we could also specify operating on just one channel?


Thank you!


Michael Cammer, Sr Research Scientist, DART Microscopy Laboratory

NYU Langone Health, 540 First Avenue, SK2 Microscopy Suite, New York, NY  10016

[hidden email]<mailto:[hidden email]>  http://nyulmc.org/micros  http://microscopynotes.com/

Voice direct only, no text or messages:  1-914-309-3270 and 1-646-501-0567


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

Re: Question about math on slice in stack ves in a hyperstack

Wayne Rasband-2
> On Jul 12, 2020, at 5:35 PM, Cammer, Michael <[hidden email]> wrote:
>
> When doing math on a simple stack, a window pops up asking whether to operate on the slice or on the whole stack.
>
>
> When operating on a hyperstack, however, the math is immediately applied to the entire hyperstack.  Is this standard behavior or a bug?

This is the expected behavior with hyperstacks in “Composite” mode. Use the Image>Color>Channels tool to switch to “Color” or “Grayscale” mode and you will get the dialog asking whether to operate on the slice or on the whole stack.

-wayne

> By using a macro command with a  hyperstack
>
>  run("Multiply...", "value=0.5 slice");
>
> operates exclusively on the single slice, channel, frame that is active.
>
>
> Also, are there plans for the future that we could also specify operating on just one channel?
>
>
> Thank you!

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