Skip to content

Instantly share code, notes, and snippets.

@mutterer
Last active October 11, 2020 08:35
Show Gist options
  • Save mutterer/d64e4be80cadd25b409b05d8bf9bef15 to your computer and use it in GitHub Desktop.
Save mutterer/d64e4be80cadd25b409b05d8bf9bef15 to your computer and use it in GitHub Desktop.
// this is what it takes to make a red/geen image
// colorblind friendly
run("Make Composite");
setSlice(1);
run("Magenta");
setSlice(2);
run("Green");
// optional: remove blue channel completely
// (some jpgs have residual blue channel which decrease contrast)
setSlice(3);
run("Delete Slice", "delete=channel");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment