Reslicing in x,y,z directions the volume
Posted by Bartlomiej Wilkowski on
URL: http://imagej.273.s1.nabble.com/Reslicing-in-x-y-z-directions-the-volume-tp3700354.html
Hello everybody,
I would like to reslice the volume data given in the array of type int[] or
int[][].
These are the images in z-direction, and I would like to create a stack from
them and then using some ImageJ class prepare the ImagePlus images as the
slices in x,y, or z direction.
For the z direction it is quite easy. I have images 512x512 pixels, so I
read one element of int[][] array and I have the image.
The problem appears with making the slices in x an y directions. I must
specify somewhere the spacings etc. I have lets say 87 images in the stack,
but my slice dimensions will not obviously be 512x87 but in my case 512x556
pixels (i ve checked it with ImageJ executable software). Now I would like
to write the code which do exactly the same but I dont know which classes to
use.
Anybody can help? Thx in advance!
Bartek