Fwd: raw data voxel size ImageJ

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Fwd: raw data voxel size ImageJ

Ana Margarida Mota
Hello,

I am having a problem:

I open a NIFTY image in imageJ with voxel size 0.5x0.5x1.1 mm^3. Than I
save it as raw data (littlendian) and when I open these raw data again the
voxel size is 1x1x1 mm^3. Why does it change my voxel size?

Is there any way to fix it? Or to change the voxel size in the raw data, so
that I can have the same voxel size as before?

Can anyone help me please??

Thank you in advance!

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: raw data voxel size ImageJ

Michael Schmid
Hi Ana,

if you save an image as raw data, it means saving only the pixel values and nothing else.  Even the number of pixels in x, y and z direction won't be saved, and also the type of data (8 bits, 16 bits, little endian, etc.) won't be written to the file (you have to know all this when importing the image as raw data).

This also means that any other 'metadata' information such as spatial calibration is lost when saving as raw.

The easiest way to enter these data is the Image>Properties dialog after opening the raw file.

Of course, it is better to save the data as tiff or zip (which is just a zipped tiff), then all the metadata including voxel size are saved with the image.

Michael
________________________________________________________________
On Feb 4, 2015, at 14:30, Ana Margarida Mota wrote:

> Hello,
>
> I am having a problem:
>
> I open a NIFTY image in imageJ with voxel size 0.5x0.5x1.1 mm^3. Than I
> save it as raw data (littlendian) and when I open these raw data again the
> voxel size is 1x1x1 mm^3. Why does it change my voxel size?
>
> Is there any way to fix it? Or to change the voxel size in the raw data, so
> that I can have the same voxel size as before?
>
> Can anyone help me please??
>
> Thank you in advance!

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