/* * Macros to work with mvd2 libraries from Perkin Elmer Ultraview Spinning Disk microscope * 1. open all image series in an mvd2 library and save as OME-TIFF in the same or different directory * 2. list all images in the library */ macro "mvd2 Save All As Tiff" { run("Bio-Formats Macro Extensions"); id = File.openDialog("Choose a file"); Ext.setId(id); Ext.getSeriesCount(seriesCount); destdir = getDirectory("Choose Destination Directory "); setBatchMode(true); for (s=0; s