# Reconstruction for a pinhole camera

**URL:** <https://castor-project.discourse.group/t/reconstruction-for-a-pinhole-camera/1161>\
**Category:** General Discussions\
**Created:** [August 27, 2025, 8:56am UTC](https://castor-project.discourse.group/t/reconstruction-for-a-pinhole-camera/1161 "2025-08-27T08:56:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sharareh](https://avatars.discourse-cdn.com/v4/letter/s/a587f6/32.png) [@Sharareh](https://castor-project.discourse.group/u/Sharareh)\
**Post date:** [August 27, 2025, 8:56am UTC](https://castor-project.discourse.group/t/reconstruction-for-a-pinhole-camera/1161/1 "2025-08-27T08:56:57Z")

</div>

Hello,  
Is it possible to perform reconstruction for a pinhole camera in CASToR?  
Could you please provide guidance on how to do it?

Thanks

---

<div class="post-metadata">

**Author:** ![mastergari](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@mastergari](https://castor-project.discourse.group/u/mastergari)\
**Post date:** [September 2, 2025, 11:07am UTC](https://castor-project.discourse.group/t/reconstruction-for-a-pinhole-camera/1161/2 "2025-09-02T11:07:18Z")

</div>

Hi Sharareh,

I don’t believe CASToR has this functionality, but you can reconstruct pinhole-SPECT datasets with [STIR](https://stir.sourceforge.net/).

You can read more about it here: [Frontiers | Integration of advanced 3D SPECT modelling for pinhole collimators into the open-source STIR framework](https://www.frontiersin.org/journals/nuclear-medicine/articles/10.3389/fnume.2023.1134774/full)

Best,  
Matthew

---

<div class="post-metadata">

**Author:** ![sstute](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@sstute](https://castor-project.discourse.group/u/sstute)\
**Post date:** [September 2, 2025, 11:47am UTC](https://castor-project.discourse.group/t/reconstruction-for-a-pinhole-camera/1161/3 "2025-09-02T11:47:44Z")

</div>

Hi,

I could see a single pinhole spect as a mono-convergent collimator of almost null thickness with the focal point on the collimator. It is worth trying that as it has non negligible likelihood to work with castor 😉

Simon

mastergari September 2 Hi Sharareh, I don’t believe CASToR has this functionality, but you can reconstruct pinhole-SPECT datasets with STIR. You can read more about it here: Frontiers | Integration of advanced 3D SPECT modelling for pinhole

> ![](https://global.discourse-cdn.com/free1/uploads/castor_project/original/1X/f8dc80406bd0cc3761eb2b684216c301a07457ac.png "mastergari") | [mastergari](https://urldefense.com/v3/ __https://castor-project.discourse.group/u/mastergari__ ;!!E0Ahi1ckbONv5w!5972WW79AumAURw1OBpXzwmpApjDrCcK59sYO6Pmd5TKXTcL-duxHOu79LrcqFo1zmZzGiQztA8xooIa_o0N7ZiwuOYo_GCpSYo5XNRntXAutH5W$)  
> September 2 |
> 
> - | - |

Hi Sharareh,

I don’t believe CASToR has this functionality, but you can reconstruct pinhole-SPECT datasets with [STIR](https://urldefense.com/v3/ __https://stir.sourceforge.net/__ ;!!E0Ahi1ckbONv5w!5972WW79AumAURw1OBpXzwmpApjDrCcK59sYO6Pmd5TKXTcL-duxHOu79LrcqFo1zmZzGiQztA8xooIa_o0N7ZiwuOYo_GCpSYo5XNRntXvdwj3f$).

You can read more about it here: [Frontiers | Integration of advanced 3D SPECT modelling for pinhole collimators into the open-source STIR framework](https://urldefense.com/v3/ __https://www.frontiersin.org/journals/nuclear-medicine/articles/10.3389/fnume.2023.1134774/full__ ;!!E0Ahi1ckbONv5w!5972WW79AumAURw1OBpXzwmpApjDrCcK59sYO6Pmd5TKXTcL-duxHOu79LrcqFo1zmZzGiQztA8xooIa_o0N7ZiwuOYo_GCpSYo5XNRntfEY3yfl$)

Best,  
Matthew
