Login  Register

Re: sum every x slice of a stack

Posted by Herbie on Jul 01, 2018; 2:37pm
URL: http://imagej.273.s1.nabble.com/sum-every-x-slice-of-a-stack-tp5020886p5020888.html

Things are much easier than previously thought...

Make n substacks from your sequence and add them by using the Image
Calculator.
(n: number of stacks, i.s. periods)

That's it!

Regards

Herbie

:::::::::::::::::::::::::::::::::::::
Good day Jonas,

as far as I understand, you are working towards your thesis and what you are
asking for since months are to become parts of it. So why not learn to do it
yourself, because it is *your* thesis.

I would use "Paste Control...". Copy and add the desired slices and, after
you've added the desired number of slices, divide the sum by the number of
added slices. You can delete the slices that aren't necessary anymore.

HTH

Herbie

:::::::::::::::::::::::::::::::::::::
Dear All,

I use SEM to take videos of a transistor biased with a triangle voltage (AC)
between emitter and base in order to compare contrast and bias voltage. I
use stacks to manipulate the videos. The video is T periods long. What I
want to do is averaging every x-slice in order to reduce noise.

Lets say I take a video of 3 periods and 360 frames at 10fps. So I want to
average slice 1+121+242, 2+122+243,...120+240+360 and put them together as a
stack of 120 slices.

I thought of first creating substacks to sort the slices like:

for (i=0;i<nSlices;i++) {

run(&quot;Make Substack...&quot;, &quot;  slices=[i-360-120]&quot;);

}

and after combining them using the z-projection tool
run(&quot;Z Project...&quot;, &quot;start=i stop=i+3 projection=[Average
Intensity]&quot;);

I'm not so much in programming macros yet. How can I combine them together?

Thanks for helping me.

Best wishes. Jonas



--
Sent from: http://imagej.1557.x6.nabble.com/

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
&lt;/quote>




--
Sent from: http://imagej.1557.x6.nabble.com/

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

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