Login  Register

Reslicing the volume in x,y,z directions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Reslicing the volume in x,y,z directions

Bartlomiej Wilkowski
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