How to build up a CT scanner based on Geant4?

Hi all,
I noticed that some literatures said they developed a Monte Carlo simulator of computed tomography(CT) based on geant4 toolkit, but they didn’t open the source code. How can I build up a CT scanner? I am familair with x-ray radiography simulation through geant4, but only single angle imaging. For CT scanner, it needs multi-angle scanning, and the X-ray tube and detectors or the inspected object is required to rotate. How to make the machine rotate to get multi-angles scanning in geant4? By the way, is there any examples?

1 Like

Hi @repan,
I also have the same purpose as you.

I created a application to get single angle image from the Cone Beam CT. To get full rotated images, I think we should implement multi runs. Between 2 runs, we will rotate the phantom/source+detector geometry. But I don’t still implement this ideal yet. I hope that there is anyone can help us in this post.

Hi @HungBuiTien,
yeah, you are right. For CT imaging one often need 900 views (projections), so if we rotate the object/source+detectors is not a practical method.
I found opengate can simulate CT. Opengate is developed from geant4, and can be defined by user commands.While I still want to build up a program by myself through geant4 since geant4 is based on c++ and can store output into ROOT format file.

Dear @repan,
GATE is also a tool that will help us build a CT simulation easily via macro lines. I tried GATE before. If you need my source code, I can share it with you.

1 Like

Hi @HungBuiTien,
Thanks for your kindness. I will find you when I need the source code of GATE.We can keep in touch in the future.

Hi @HungBuiTien, I am a student who wants to model a CT scanner now. If you don’t mind, can you share the GATE code of the CT scanner?? I would be very grateful if you could share.

Hi, HungBuiTien.
Its more easyer to achieve by rotating the phantom rather than souce + detectors.