Opening a folder as stack
Posted by
Richard Mort-2 on
URL: http://imagej.273.s1.nabble.com/image-acquisition-under-linux-tp5003802p5003815.html
Hello All,
When I open a folder as a stack by drag and drop the files open in the
correct order. Also when I go file>image sequence> and select a random
image from the folder I get the same behaviour. However whan I use the
macro command:
dir = getDirectory("Choose directory");
run("Image Sequence...", "open=&dir starting=1 increment=1 scale=100");
or
file = File.openDialog("Choose a file");
run("Image Sequence...", "open=&file starting=1 increment=1 scale=100");
....my stack gets scrambled. I'm sure I'm missing something simple here
but maybe there is a better approach. My file naming is a bit odd and I
could relabel them all first but I have lots of images. Also the Stack
Sorter command "Sort by Label" works on the scrambled stack but it is
not recordable.
File name exmaple:
B16_F1_28_A_rec0000.modif.tif.0004.tif
B16_F1_28_A_rec0000.modif.tif.0005.tif
Hope someone can help
Best
R
--
Dr Richard Mort
MRC Human Genetics Unit
MRC IGMM
University of Edinburgh
Western General Hospital
Crewe Road
Edinburgh.
EH4 2XU, UK
Tel: +44 (0)131 332 2471
Fax: +44 (0)131 467 8456
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.htmlThe University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html