Batch stack to images, with renaming
Posted by cellcyclist on Dec 20, 2014; 4:30am
URL: http://imagej.273.s1.nabble.com/Batch-stack-to-images-with-renaming-tp5011012.html
I have many tiff files with multiple stacks in each tiff. I would like to split the stacks into individual tifs and save them in batch, with the file names of the new images labeled with the original image and info about the stack. For example:
Image 1.tiff
Image 2.tiff
converted to
Image 1-stack1.tiff
Image 1-stack2.tiff
Image 1-stack3.tiff
Image 2-stack1.tiff
Image2-stack2.tiff
Image2-stack3.tiff
I can sort of do what I want by opening all the original tiffs with stacks as Import->Image Sequence, then Save As->Image Sequence, but that renames all the files. I've tried using slice labels as file name when saving the image process, but that requires me going through and setting up each splice label, which defeats the whole point of batch.
Any thoughts or advice?