<div>Thank you Simon for so quick answer,  I will have a try.</div><div><br></div><div>Xin Zhao</div><div><includetail><div> </div><div> </div><div style="font:Verdana normal 14px;color:#000;"><div style="FONT-SIZE: 12px;FONT-FAMILY: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="FONT-SIZE: 12px;background:#efefef;padding:8px;"><div id="menu_sender"><b>From: </b> "simon.stute"<simon.stute@chu-nantes.fr>;</div><div><b>Date: </b> Wed, Jun 1, 2022 06:10 PM</div><div><b>To: </b> "castor-users"<castor-users@lists.castor-project.org>; "zhaoxin"<zhaoxin@szbl.ac.cn>; <wbr></div><div></div><div><b>Subject: </b> Re: [Castor-users] how to write attenuation image header file</div></div><div> </div><div style="position:relative;"><div id="tmpcontent_res"></div>

<style type="text/css" style="display:none">!--P{margin-top:0;margin-bottom:0;}</style>




<p>Hi,</p>
<p><br>
</p>
<p>The header is the same as for images coming out from CASToR. You can use one of these as a template.</p>
<p><br>
</p>
<p>Simon</p>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>De :</b> Castor-users <castor-users-bounces@lists.castor-project.org> de la part de 赵鑫 <zhaoxin@szbl.ac.cn><br>
<b>Envoyé :</b> mercredi 1 juin 2022 11:48<br>
<b>À :</b> castor-users<br>
<b>Objet :</b> [Castor-users] how to write attenuation image header file</font>
<div> </div>
</div>
<div>
<div class="__aliyun_email_body_block">
<div style="clear:both">
<p class="MsoNormal" style="margin:.0px; text-align:justify; font-size:14.0px; font-family:等线">
Dear CASToR developers and users,</p>
<p class="MsoNormal" style="margin:.0px; text-align:justify; font-size:14.0px; font-family:等线">
  I have been facing an issue with attenuation when trying to reconstruct a PET image from GATE simulation data, and my simulation item is a 200mm-diameter water cylinder. As shown in the attachment: "clinder.png", obvious attenuations can be seen in the recon
 image, so I need to apply attenuation correction by providing the MuMap file with the help of "-atn XXX" in castor-recon.</p>
<p class="MsoNormal" style="margin:.0px; text-align:justify; font-size:14.0px; font-family:等线">
  I have already obtained MuMap file ("BrainPET_atn_Water-MuMap.raw" in attachment) and its header ("BrainPET_atn_Water-MuMap.mhd") from MuMapActor in GATE. submitted the header file into castor-recon using the following commands: "castor-recon -df /home/castor/workDir/Cdf/Clinder_b2b_WaterPhantom.Cdh
 -atn /home/castor/workDir/atn/BrainPET_atn_Water-MuMap.mhd   -opti MLEM -it 10:9 -proj joseph -conv gaussian,1.7,1.7,3::psf  -dim 630,630,40  -vox 0.3225,0.32255,0.3225   -dout /home/castor/workDir/img/waterClinder_forAttenuation -th 0"</p>
<p class="MsoNormal" style="margin:.0px; text-align:justify; font-size:14.0px; font-family:等线">
  But errors were shown on screen, as provided in the attachment: "output.png". I guess it is because I did not offer the image header file in the correct format as CASToR required. Can anyone tell me where can I find an example of attenuation image header
 file, so I can write the MuMap header correctly.</p>
<p class="MsoNormal" style="margin:.0px; font-size:14.0px; font-family:等线; text-align:left">
Best regards</p>
<p class="MsoNormal" style="margin:.0px; font-size:14.0px; font-family:等线; text-align:left">
Xin Zhao</p>
<pre style="color:#000000; font-style:normal; font-weight:400; text-align:start; text-indent:.0px; text-transform:none; widows:2"><br></pre>
</div>
<br>
<br>
<div class="__aliyun__bigattach" style="padding:1px; color:#333; font-size:12px; border:1px solid #C1D9F3; margin:5px 10px">
<div style="height:33px; line-height:33px; background-color:#ededed; white-space:nowrap">
<span style="padding-left:16px; font-size:14px; font-weight:bold">超大附件列表</span>‍ </div>
<div style="min-height:62px; padding-left:68px">
<div style="width:48px; height:48px; top:0; left:0; padding:7px 10px"><img width="48" height="48" border="0" src="http://mail.szbl.ac.cn/reference/images/filetypes/v4_raw.png" onerror="">
</div>
<div style="line-height:24px; height:24px; padding-top:7px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis">
<span title="BrainPET_atn_Water-MuMap.raw(60.6MB)" style="vertical-align:middle">BrainPET_atn_Water-MuMap.raw<span style="color:#888; padding-left:15px">[60.6MB]</span></span>‍
</div>
<div style="line-height:24px; height:24px; overflow:hidden; white-space:nowrap"><a target="_blank" href="http://mail.szbl.ac.cn/alimail/openLinks/downloadMimeMetaDiskBigAttach?id=netdiskid%3Av001%3Afile%3ADzzzzzzNqZy%3BSluIbwYdFjHjlm%2B9eGXp8eKM%2F8Vujd3Z%2Bu%2BwgS1EnSjp4XdB4%2FfRJw%2BPrjsvKblrNkGSOboL3osxhRiH4K8w3GTWOsrl16NI0zGaXVgMIcWA6q41rN4Grw%3D%3D" style="vertical-align:middle; color:#3697C8; text-decoration:none">进入下载页面</a>
</div>
</div>
</div>
</div>
</div>
</div>



</div></div><!--<![endif]--></includetail></div>