// gets the path to the "added macros" folder in ImageJ plugins folder var MACRO_PATH = getDirectory("plugins") + "NeuroCyto Lab" + File.separator; // Tool 14 macro "Extract images to TIF Action Tool - icon:convert_tif.png" { run("Extract Images"); } // Tool 15 macro "Make projections Action Tool - icon:projection.png" { run("Make Projections"); } // Tool 16 macro "Make multichannel stacks Action Tool - icon:merge_channels.png" { run("Make MultiC Stacks"); } // Tool 17 var Cmds = newMenu("Correct chromatic shifts Menu Tool", newArray("Correct Apo","Correct STORM")); macro "Correct chromatic shifts Menu Tool - icon:correct_shift_menu.png" { cmd = getArgument(); if (cmd == "Correct Apo") { run("Correct Apo 2"); } if (cmd == "Correct STORM") { run("Correct STORM 2"); } } macro "Correct Apo" { run("Correct Apo 2"); } macro "Correct STORM" { run("Correct STORM 2"); } // Tool 18 macro "Stitch mosaics Action Tool - icon:mosaic.png" { run("Stitch Mosaic"); } // Tool 19 macro "Batch split channels Action Tool- icon:split_channels.png" { run("Split Channels Batch"); } // Tool 20 macro "Generate stacks folder Action Tool - icon:make_stacks.png" { run("Generate Stacks Folder"); } // Tool 21 macro "Convert hyperstack to montage Action Tool - icon:montage_gray.png" { run("HyperStack to Montage"); }