<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=FR link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hello Chaitanya,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> 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:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>fid = fopen(‘benchmarkCT_001.dat’, 'r');<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>2dProj = fread(fid, [100 100], 'float32'); % [100 100]
is the matrix size of your CT detector.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>fclose(fid);<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>figure, imagesc(2dProj), colormap(‘gray’), colorbar<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> <span lang=EN-US>If you don’t have Matlab you can use the
free open source ImageJ <a href="http://rsb.info.nih.gov/ij/">http://rsb.info.nih.gov/ij/</a>
.<o:p></o:p></span></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Bests,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Mahdjoub Hamdi.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>PhD student, <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>University of Mostaganem.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>De :</span></b><span lang=EN-US style='font-size:
10.0pt;font-family:"Tahoma","sans-serif"'> Chaitanya Kolluru
[mailto:kolluru.chaitanya@gmail.com] <br>
<b>Envoyé :</b> samedi 23 novembre 2013 07:37<br>
<b>À :</b> mahdjoub.hamdi@ho</span><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>tmail.fr<br>
<b>Objet :</b> GATE- Reading CT output<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<div>
<p class=MsoNormal><span style='font-family:"Tahoma","sans-serif"'>Hi Mahdjoub,<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-family:"Tahoma","sans-serif"'>I'm
Chaitanya, a graduate student at IIT Madras, India. I've been trying to use
GATE recently to simulate a CT scanner.<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-family:"Tahoma","sans-serif"'>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). <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-family:"Tahoma","sans-serif"'>I just
wanted to know if you wer able to solve this problem you posted a year
ago. <a
href="http://permalink.gmane.org/gmane.comp.science.opengate.user/2235"><span
style='font-family:"Arial","sans-serif"'>http://permalink.gmane.org/gmane.comp.science.opengate.user/2235</span></a><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-family:"Tahoma","sans-serif"'>Also, were
you able to visualize the projections as in pages 2 and 3 in the attached
document?<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-family:"Tahoma","sans-serif"'>Thank you
very much for your time. Looking forward to your reply.<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-family:"Tahoma","sans-serif"'><br>
Thanks,<br>
Chaitanya Kolluru<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-family:"Tahoma","sans-serif"'><o:p> </o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-family:"Tahoma","sans-serif"'>Department
of Engineering Design<o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-family:"Tahoma","sans-serif"'>IIT Madras,
Chennai <o:p></o:p></span></p>
</div>
</div>
</div>
</body>
</html>