# Image reconstruction in CASToR

**URL:** <https://castor-project.discourse.group/t/image-reconstruction-in-castor/122>\
**Category:** General Discussions\
**Created:** [October 16, 2019, 6:31am UTC](https://castor-project.discourse.group/t/image-reconstruction-in-castor/122 "2019-10-16T06:31:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sowmiya\_Raj\_Thirumal](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@Sowmiya\_Raj\_Thirumal](https://castor-project.discourse.group/u/Sowmiya_Raj_Thirumal)\
**Post date:** [October 16, 2019, 6:31am UTC](https://castor-project.discourse.group/t/image-reconstruction-in-castor/122/1 "2019-10-16T06:31:52Z")

</div>

Hi All,

I installed CASToR version 2.1. I simulated Discovery 710 PET system in GATE with brain\_phantom.h33 interfile and brain\_phantom.i33 raw image. I stored the output in ROOT and used CASToR command to get the .Cdh file. I am trying to reconstruct the image but I am not getting the correct image. I used the following for castor-recon. I am attaching the files for reference. Could anyone please let me know what I am missing? I tried to open them with ImageJ (Import-\>Raw with parameters as 16 bit unsigned, 256 pixels, first image offset as 1, total no of images as 10, little endian byte order and use virtual stack).

castor-recon -df PET\_phantom\_voxel\_df.Cdh -opti MLEM -it 10:16 -proj joseph -conv gaussian,4.,4.5,3.5::psf -dim 32,32,1 -dout PET\_phantom\_voxel\_recon

16 images in the interfile. So, I have given 10 iterations of each image (subset)  
interfile matrix is 32x32. So, I have given dimensions as 32x32x1

Also, could anyone please let me know if castor-recon can be used for obtaining images of the particle track from PET simulation with a cylinder phantom?

Thanks & Regards  
Sowmiya

[PET\_phantom\_voxel\_df.Cdh](https://castor-project.discourse.group/uploads/short-url/A8CCVRTRFguTuxY1yEJ1mELEpZY.Cdh) (205 Bytes)

[brain\_phantom.h33](https://castor-project.discourse.group/uploads/short-url/5VpDv9rKPecPv9l24n8PkcQVSZT.h33) (1.73 KB)

[brain\_phantom.i33](https://castor-project.discourse.group/uploads/short-url/z61vTVuW48kTR3XFky3wz0id0lo.i33) (32 KB)

[PET\_phantom\_voxel\_recon.zip](https://castor-project.discourse.group/uploads/short-url/ee2w0xVHwC0dM1hHW2jIpQMNK5D.zip) (50.1 KB)

[PET\_phantom\_voxel\_df.Cdf](https://castor-project.discourse.group/uploads/short-url/9dZFB9GJIxSF5fWNOUSFIpYzfvg.Cdf) (59.5 KB)
