# attenuation correction in CASToR TOF recon image

**URL:** <https://castor-project.discourse.group/t/attenuation-correction-in-castor-tof-recon-image/271>\
**Category:** General Discussions\
**Created:** [June 6, 2022, 3:18am UTC](https://castor-project.discourse.group/t/attenuation-correction-in-castor-tof-recon-image/271 "2022-06-06T03:18:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xin\_Zhao](https://avatars.discourse-cdn.com/v4/letter/x/f05b48/32.png) [@Xin\_Zhao](https://castor-project.discourse.group/u/Xin_Zhao)\
**Post date:** [June 6, 2022, 3:18am UTC](https://castor-project.discourse.group/t/attenuation-correction-in-castor-tof-recon-image/271/1 "2022-06-06T03:18:57Z")

</div>

Dear CASToR developers and users,

We simulated a cylindrical phantom using GATE and extract time and crystalID information from ROOT file. We organized two groups of Cdh&Cdf files followed CASToR input datafile format, for non-TOF and TOF reconstruction respectively. Two recon images are shown in “non-TOF recon.png” & “141ps TOF recon.png” images as presented in the attachment. But I found out that there is almost no attenuation that can be seen in the “141ps TOF recon.png” image compared to “non-TOF recon.png”. From the image profiles in “profile.png”, it can be seen from the non-TOF recon image that the central area has obvious count attenuation, while the TOF recon image shows no sign of attenuation. I am curious about why because I applied no additional “-atn XXXX.hdr” attenuation correction when running castor-recon for TOF reconstruction.  
The CASToR recon command of 141ps TOF recon is: “castor-recon -df /home/castor/BrainPET\_IEC\_F18\_3sphere1\_5p3c\_TOF141p42ps.Cdh -opti MLEM -it 10:9 -proj joseph -conv gaussian,1.7,1.7,3::psf -dim 630,630,250 -vox 0.3225,0.32255,0.3225 -dout /home/castor/img/BrainPET\_IEC\_F18\_3sphere1\_37and22and13\_5p3concent\_510s\_TOF141p42ps\_20220605 -th 0”. The TOF recon datafile header “BrainPET\_IEC\_F18\_3sphere1\_5p3c\_TOF141p42ps.Cdh” is also submitted in the attechment.  
Do you have any idea why attenuation seems not obvious in the TOF recon image from castor-recon? Can you point out what went wrong with my TOF Recon? Any advice and suggestion will be greatly appreciated. Thank you!

All the best,  
Xin Zhao

 ![141ps TOF recon.jpg](https://global.discourse-cdn.com/free1/uploads/castor_project/original/1X/cbc08251ca7e2944f95148b9b42919cca4543d71.jpeg)

 ![non-TOF recon.jpg](https://global.discourse-cdn.com/free1/uploads/castor_project/original/1X/4cfcdcbf2a9807b36717ee98bbbe75ba2f4f58f4.jpeg)

 ![profile.jpg](https://global.discourse-cdn.com/free1/uploads/castor_project/original/1X/9ee739291e095348d995addf456ed1f2afa4c2ae.jpeg)

[BrainPET\_IEC\_F18\_3sphere1\_5p3c\_TOF141p42ps.Cdh](https://castor-project.discourse.group/uploads/short-url/nm3gmfBdddBXugpcTQ8D3dL0Syb.Cdh) (396 Bytes)

---

<div class="post-metadata">

**Author:** ![Aziza\_Zendour](https://avatars.discourse-cdn.com/v4/letter/a/8dc957/32.png) [@Aziza\_Zendour](https://castor-project.discourse.group/u/Aziza_Zendour)\
**Post date:** [June 7, 2022, 12:39pm UTC](https://castor-project.discourse.group/t/attenuation-correction-in-castor-tof-recon-image/271/2 "2022-06-07T12:39:37Z")

</div>

Hello all,  
I hope you are well.  
I am actually preparing my final project of the year, is about Modeling and simulation of PET Scan with GATE.  
I chose “Ge STE PET/CT Scan” as a model but I still have a problem.  
I don’t understand how I will evaluate my simulation, what parameters should I calculate to say that my simulation is correct?

Thanks in advance.  
Cordially.

---

<div class="post-metadata">

**Author:** ![tmerlin](https://yyz2.discourse-cdn.com/free1/user_avatar/castor-project.discourse.group/tmerlin/32/216_2.png) [@tmerlin](https://castor-project.discourse.group/u/tmerlin)\
**Post date:** [June 8, 2022, 9:35pm UTC](https://castor-project.discourse.group/t/attenuation-correction-in-castor-tof-recon-image/271/4 "2022-06-08T21:35:39Z")

</div>

Dear Xin Zhao,

Indeed the output you get is strange, but I don’t see anything wrong in your datafile header or command line options.

Do you get the same output (no attenuation) when you try to reconstruct the tof dataset without tof (i.e delete the tof related line in the datafile header) ? Did you try to reconstruct with different time resolution to check if this has an impact on the observed attenuation ?

Best,  
Thibaut

---

<div class="post-metadata">

**Author:** ![Xin\_Zhao](https://avatars.discourse-cdn.com/v4/letter/x/f05b48/32.png) [@Xin\_Zhao](https://castor-project.discourse.group/u/Xin_Zhao)\
**Post date:** [June 28, 2022, 3:25am UTC](https://castor-project.discourse.group/t/attenuation-correction-in-castor-tof-recon-image/271/5 "2022-06-28T03:25:31Z")

</div>

Hi, you can evaluate the recon image from your simulation by calculated system sensitivity, NECR, SNR… and compare the calculated results with your expected values or the reported values in the papers of those familiar PET system.

---

<div class="post-metadata">

**Author:** ![Xin\_Zhao](https://avatars.discourse-cdn.com/v4/letter/x/f05b48/32.png) [@Xin\_Zhao](https://castor-project.discourse.group/u/Xin_Zhao)\
**Post date:** [June 28, 2022, 3:34am UTC](https://castor-project.discourse.group/t/attenuation-correction-in-castor-tof-recon-image/271/6 "2022-06-28T03:34:13Z")

</div>

Thank you a lot for your reply! I am still focusing on getting the correct TOF reconstruction images using GATE simulation data. Maybe later I can share the TOF recon results from CASToR. CASToR is really easy to use, which greatly helps our team’s research work. The new discourse forum is a great job!
