[Gate-users] NCAT bin to i33

Sonal Ambwani ambwani at bu.edu
Fri May 30 14:30:01 CEST 2008


Hi Jose,
I agree with Susana. It is important to convert the 32 bit data to 16 
bit unsigned integer. The method I use for changing the NCAT program 
output *.bin files to the interfile format of *.h33 and *.i33 is a 
little round-about but it works. First I write the 32 bit float *.bin 
file to 16 bit unsigned interger *.bin file using MATLAB. Then I open 
the file using the "open raw data" in xmedcon...and then "save as" 
interfile using xmedcon itself. This should give the required *.h33 and 
*.i33 files for Voxelized phantom. Except that you need to change the 
*.h33 file to the hoffman head phantom format as given in examples.

I think you can write the interfile format using MATLAB...I'm using an 
older version of MATLAB on my computer which does not support interfile 
images.

Hope this helps.
Sonal

Quoting Susana Branco Silva <susana.silva at fc.ul.pt>:

> Hi José,
>
>
>
> Yes you can! But, you have to be care with one thing: GATE can’t read float
> data (32 bit)! So you'll need to convert your phantom file to unsigned
> integer (16 bit) format (with IDL or MATLAB for instance).
>
> The NCAT program produces bin files in float data

>
>
>
> Cheers,
>
>
>
> Susana Branco Silva
>
>
>
> untitled
>
> Faculdade de Ciências da Universidade de Lisboa
>
> Campo Grande, 1749-016 Lisboa, Portugal
> Phone: (+351) 21 750 01 77 ext.: 20515
> Fax:  (+351) 21 750 00 30
>
>  <mailto:susana.silva at fc.ul.pt> email: susana.silva at fc.ul.pt
>
> url: www.ibeb.fc.ul.pt
>
>
>
>
>
> From: gate-users-bounces at lists.healthgrid.org
> [mailto:gate-users-bounces at lists.healthgrid.org] On Behalf Of José Ramos
> Sent: quinta-feira, 29 de Maio de 2008 20:55
> To: gate-users at lists.healthgrid.org
> Subject: [Gate-users] NCAT bin to i33
>
>
>
> Hi Gate users
> Perhaps this is a very elemental question, but I'm so new in GATE users
> terms. How I can convert the ncat_output.bin archive, which was obtained
> with the general.samp.par to ncat_output.i33 file.
>
> Best regards from Mexico
>
> --
> e- + e+ -> <~~*~~>
>
>



Sonal Ambwani

Dept. of Electrical and Computer Engineering
Boston University




More information about the Gate-users mailing list