Login  Register

Re: Batch stack to images, with renaming

Posted by Krs5 on Dec 24, 2014; 3:47pm
URL: http://imagej.273.s1.nabble.com/Batch-stack-to-images-with-renaming-tp5011012p5011045.html

Not sure what is happening. I did some tests with the samples confocal-series and t1-head and used as number of stacks 5 and 43 resp. and get the expected number of files, 5 and 3. You should have no images open when you run the macro.

The macro asks you for the number of images per stack, this is the number of images in the new to creating stacks. The macro checks how many images (slices) there are in the original stack via getDimensions(width, height, channels, slices, frames); and if all is correct this should result in three new images as [images per stack]/slices = 3.

Are the stacks that are created correct and there is no error message?

How large are your data sets? Is it possible to upload one somewhere so I can download it?

BW

Kees
________________________________________
From: ImageJ Interest Group [[hidden email]] on behalf of cellcyclist [[hidden email]]
Sent: 23 December 2014 20:03
To: [hidden email]
Subject: Re: Batch stack to images, with renaming

Thanks Kees!

This is almost perfect. But if I have 3 stacks in the original tiff it only
generates the first 2 stacks separately, and the 3rd stack is missing. Is
there a way to specify the number of output substacks so that it makes 3 new
stacks? (I'm new to ImageJ don't really know much about macros)

Thanks so much

Merry Christmas!



--
View this message in context: http://imagej.1557.x6.nabble.com/Batch-stack-to-images-with-renaming-tp5011012p5011041.html
Sent from the ImageJ mailing list archive at Nabble.com.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html