Scatter and randoms correction on CASToR using ROOT files from GATE

Hi everyone,

I have read some previous topics here in the forum about the topic of Randoms and Scatter corrections that say CASToR can’t directly compute them.

I am using ROOT files from GATE PET simulation, and I would like to apply random and scatter corrections. I have read that I can compute this separately, but I am not understanding how I can add the corrections to CASToR. How do I convert the corrections to the CASToR list-mode format and use them on castor-recon?

I am using CASToR release version 3.2.1.

I would really appreciate it if anyone could give some insights on this subject, please.

Thank you in advance!

Greetings

Hello,

CASToR does not provide by default tools to include random and scatter correction factors that were externally computed into a CASToR datafile. This is why we have developed a small Python script that does it automatically. You can find here: pet-imaging-tools/pet_imaging_tools/castor_datafile/add_normalization_factors.py at master · wkrzemien/pet-imaging-tools · GitHub

This script operates only on normalization factors, but can be adapted with minimal modifications to deal with scatter and random corrections. The input data is assumed to be in the form of a CSV file, but once again the file can be adapted to deal with any input format.

If you decide to use the script and struggle to adapt its content, let me know and I can assist.

Hope this helps!

1 Like

Thank you so much! I will give it a try.