So a virtual stack is just a stack that's too big to read from disk into RAM? That might be close to what I want, if it's the case that the only slices that are actually read from disk are the first one and the one I specify. It's kind of annoying because this sort of thing is one of the most basic image manipulation commands in Matlab:
single_layer_tiff = imread(stack_filename, slice_number)
I was hoping there was a similar thing in ImageJ, preferably a simple library function. Thanks for your help and for any more insight you can give, I appreciate it!
--- On Sat, 1/9/10, Gabriel Landini <
[hidden email]> wrote:
From: Gabriel Landini <
[hidden email]>
Subject: Re: Extracting one particular slice from 3D tiff stack
To:
[hidden email]
Date: Saturday, January 9, 2010, 1:58 PM
On Saturday 09 January 2010 20:41:26 you wrote:
> Does anyone know how I might go about opening a 3D tiff stack as a single
> tiff with the IMAGEJ library?
Do you mean something like this macro?:
run("TIFF Virtual Stack...", "open=/home/gabriel/ImageJ/mri-stack.tif");
setSlice(10);
That would show only 2 slices, the first one at importing time and the one you
specify next, but I do not know if that is what you want.
Cheers
G.