//Macro to stictch a DV-collected panel data set. //Chris Gell 11-07-2018 //Version 1 //open a series from a .dv file, save them out so sinple Fiji stitching works. //currently only supports single channels. //need to do a preload of the data here: nChannels=getNumber("How manu channels did you record?", 2); waitForUser("You will now be asked to load the stack."); run("Bio-Formats Importer", "autoscale color_mode=Default concatenate_series open_all_series rois_import=[ROI manager] split_channels view=Hyperstack stack_order=XYCZT"); waitForUser("Please save out the stacks for each channel to a folder, close them and click OK."); //get the size of the panel in tiles xsize=getNumber("Enter the number of columns", 2); ysize=getNumber("Enter the number of rows", 5); waitForUser("You'll now be asked to load each of the stacks you just saved in tern, and to choose a location for the tiles to be stored. \n The software will then fuse the tiles and you can then save it."); for (p=1; p