[Gate-users] re-sizing voxels
David Sarrut
David.Sarrut at creatis.insa-lyon.fr
Fri Jan 9 07:48:35 CET 2015
Hello,
if I remember correctly, interfile reader in gate can read little or
bigendian. Another idea : unsigned integer should not be UNSIGNED INTEGER
(in capitals) ?
but I admit I never used this image file format. Maybe give try to mhd/raw
(metaimage) file format instead of interfile.
David
On Fri, Dec 19, 2014 at 7:59 PM, Mike Tabriz <mtabriz at yahoo.com> wrote:
> Dear Gate users,
>
> I have used ImageJ to adjust the voxel dimensions (height, width,
> thickness)of the Zubal phantom to 4 mm, and have saved the image in
> the uint16 form. I save this image as interfile using xMedcon and get the
> following error message when I read the files into GATE:
>
>
> Unrecognised type name 'unsigned integer'
> Header read from 'data/voxel_man_16.h33'
> Data file name 'data/voxel_man_16.i33'
> Nb of planes: 0
> Nb of pixels per plane: 128 128
> Pixel size: 4.000e+00 4.000e+00
> Slice thickness: 4.000e+00
> Matrix size: 5.120e+02 5.120e+02
> Data type:
> Data byte order: BIGENDIAN
>
>
> I believe the image file needs to be in little-endian byte order to be
> read into GATE?
> If so, what is the best way to make the conversion?
>
>
> Thank you,
> Mike
>
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
--
David Sarrut, Phd
Directeur de recherche CNRS
CREATIS, UMR CNRS 5220, Inserm U 1044
Centre de lutte contre le cancer Léon Bérard
28 rue Laënnec, 69373 Lyon cedex 08
Tel : 04 78 78 51 51 / 06 74 72 05 42
http://www.creatis.insa-lyon.fr/~dsarrut
_________________________________
"2 + 2 = 5, for extremely large values of 2"
_________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150109/266ca9f9/attachment.html>
More information about the Gate-users
mailing list