Posted by
Herbie on
Jun 30, 2018; 3:57pm
URL: http://imagej.273.s1.nabble.com/sum-every-x-slice-of-a-stack-tp5020886p5020887.html
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("Make Substack...", " slices=[i-360-120]");
}
and after combining them using the z-projection tool
run("Z Project...", "start=i stop=i+3 projection=[Average
Intensity]");
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</quote>
--
Sent from:
http://imagej.1557.x6.nabble.com/--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html