[Gate-users] GATE- Reading CT output

Mahdjoub Hamdi mahdjoub.hamdi at hotmail.fr
Sat Nov 23 16:18:57 CET 2013


Hello Chaitanya,

 

 Yes I’m able to read the 2D projections obtained by CT output. The binary
files ‘benchmarkCT_000.dat’ and benchmarkCT_001.dat are written in ‘float 32
bit’, if you have Matlab you can read it easly by:

 

fid = fopen(‘benchmarkCT_001.dat’, 'r');

2dProj = fread(fid, [100 100], 'float32');   %  [100 100] is the matrix size
of your CT detector.

fclose(fid);

 

figure, imagesc(2dProj), colormap(‘gray’),  colorbar

 

 If you don’t have Matlab you can use the free open source ImageJ
http://rsb.info.nih.gov/ij/ .

 

Bests,

 

Mahdjoub Hamdi.

PhD student, 

University of Mostaganem.

 

 

De : Chaitanya Kolluru [mailto:kolluru.chaitanya at gmail.com] 
Envoyé : samedi 23 novembre 2013 07:37
À : mahdjoub.hamdi at hotmail.fr
Objet : GATE- Reading CT output

 

Hi Mahdjoub,

 

I'm Chaitanya, a graduate student at IIT Madras, India. I've been trying to
use GATE recently to simulate a CT scanner.

 

I was going through the gate mailing lists on how to use the output from the
CT simulation (3 files - benchmarkCT.root, benchmarkCT_000.dat,
benchmarkCT_001.dat). 

 

I just wanted to know if you wer able to solve this problem you posted a
year ago.
<http://permalink.gmane.org/gmane.comp.science.opengate.user/2235>
http://permalink.gmane.org/gmane.comp.science.opengate.user/2235

 

Also, were you able to visualize the projections as in pages 2 and 3 in the
attached document?

 

Thank you very much for your time. Looking forward to your reply.


Thanks,
Chaitanya Kolluru

 

Department of Engineering Design

IIT Madras, Chennai 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20131123/8f46d60f/attachment.html>


More information about the Gate-users mailing list