Re: Image Calculator: Image Slices minus Single Image
Posted by
Straub, Volko A. (Dr.) on
Mar 15, 2016; 5:05am
URL: http://imagej.273.s1.nabble.com/Image-Calculator-Image-Slices-minus-Single-Image-tp5015901p5015903.html
Dear Arreiss,
The image calculator can subtract a single image from every image in a
stack. For example, the code below will calculate the average for an
open stack and then subtract it from all images in the stack:
run("Z Project...", "projection=[Average Intensity]");
rename("Average");
imageCalculator("Subtract create 32-bit stack", image,"Average");
There is no need to put this inside a loop and carry out the operation
for each image separately.
Hope this helps,
Volko
On 15/03/2016 03:26, Arreis wrote:
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html