Re: Macro for merging 2 channels of .nd2 files
Posted by
Krs5 on
Aug 06, 2019; 7:49am
URL: http://imagej.273.s1.nabble.com/Macro-for-merging-2-channels-of-nd2-files-tp5022347p5022349.html
try to use
Ext.openImagePlus(path+filelist[i]);
run("Split Channels");
instead of
name = path + filelist[i];
run("Bio-Formats Importer", "open= ["+name+"] color_mode=Default
view=Hyperstack stack_order=XYCZT color_mode=Default split_channels");
You have to check what the titles will be of the different channels after
splitting them and adjusting your code accordingly.
Hope this works
Best wishes
Kees
Dr Ir K.R. Straatman
Senior Experimental Officer
Advanced Imaging Facility
Centre for Core Biotechnology Services
University of Leicester
www.le.ac.uk/advanced-imaging-facility
________________________________________
--
Sent from:
http://imagej.1557.x6.nabble.com/--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html