|
From: Thielemans, K. <k.t...@uc...> - 2023-04-27 07:35:51
|
Hi Yusuf That exception is thrown when you're running out of memory. We try to catch it in several places to write a more instructive message, but it seems we missed at least one place. I guess you could verify this by using a system monitor (on Linux, top or htop would do). You could also do an experiment with fewer collimator (or pinholes). Sadly, it might mean you have to find a bigger computer to run this on. I think an alternative is to set disable caching of the matrix, it is going to make things quite slow. Let us know Kris > -----Original Message----- > From: Yusuf Helo <you...@gm...> > Sent: Wednesday, April 26, 2023 8:05 PM > To: Matthew Strugari <mat...@da...> > Cc: Sti...@li... > Subject: Re: [Stir-users] Pinhole SPECTUB input format data > > ⚠ Caution: External sender > > > Hi Matthew, > > Thank you very much for your reply/suggestion. > > I downloaded the recon_test_pack and run the single-pinhole recon which > work fine. > I modified the collimator.txt and detector.txt to recon a simulated stationary > scanner, where i have 4 collimators (0*º*,90*º*,180*º* and 270*º*). > each collimator contains 12 pinholes spaced out around the collimator. > However when i run the recon i got the error std::bad_alloc. I'm assuming > the problem in my collimator.txt but i could be wrong. I attached all input > files hopping if you/anyone could help please. > > Many thanks, > > > Yusuf > > On Wed, Apr 12, 2023 at 4:27 PM Matthew Strugari > <mat...@da...> > wrote: > > > Hi Yusuf, > > > > There is a pinhole-SPECT test in the recon_test_pack that would be a > > good place to start. The example there is for a single-pinhole system > > and includes some documentation and parameter files that should help > > to familiarize you with the necessary inputs. The input projection > > data uses interfile format. > > > > Feel free to ask about any questions that may arise. > > > > Best, > > Matthew > > > > > On Apr 12, 2023, at 10:15 AM, Yusuf Helo <you...@gm...> > wrote: > > > > > > CAUTION: The Sender of this email is not from within Dalhousie. > > > > > > Hi All, > > > > > > I would like to recon Pinhole SPECT data using STIR, but I'm not > > > sure how the input format should look like. I have simulation which > > > output image > > per > > > pinhole (no overlap allowed). I'm happy to start with basic > > > situation > > with > > > just 4 single pinholes in each direction.(±x and ±y) which results > > > with just 4 images. > > > I went through the user manual ( 5.14.7.5 Pinhole SPECT UB), but > > > I'm not sure i could find the input format, neither in > > > example/sample/PinholeSPECTUB. > > > I'm happy to reformat my data to suit STIR. > > > Any help is much appreciated. > > > > > > Thanks, > > > > > > Yusuf > > > > > > _______________________________________________ > > > Stir-users mailing list > > > Sti...@li... > > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fli > > > sts.sourceforge.net%2Flists%2Flistinfo%2Fstir-users&data=05%7C01%7Ck > > > > .thielemans%40ucl.ac.uk%7C4fe0e4e8f48540f9f8a008db468992ba%7C1faf88f > > > > ea9984c5b93c9210a11d9a5c2%7C0%7C0%7C638181328921431759%7CUnkno > wn%7CT > > > > WFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX > V > > > > CI6Mn0%3D%7C3000%7C%7C%7C&sdata=MsdwWUttqOetYm0u9y%2FRMGO > 5f%2BwELuBT > > > %2F19hiSvOR5s%3D&reserved=0 > > |