Skip to content

Instantly share code, notes, and snippets.

@hirokai
Created January 16, 2015 19:20
Show Gist options
  • Save hirokai/de641a9421f2e23270ed to your computer and use it in GitHub Desktop.
Save hirokai/de641a9421f2e23270ed to your computer and use it in GitHub Desktop.
Subtracting average of slices
run("Stack From List...", "open=/Users/hiroyuki/Desktop/bf.txt");
run("Z Project...", "projection=[Average Intensity]");
run("Calculator Plus", "i1=bf.txt i2=AVG_bf.txt operation=[Subtract: i2 = (i1-i2) x k1 + k2] k1=1 k2=0 create");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment