[Castor-users] PET reconstruction from a binary LUT file
Daiki HAYAKAWA
Daiki.Hayakawa at unige.ch
Wed Jul 25 16:58:26 CEST 2018
Dear CASToR users,
We are trying to reconstruct PET image from a binary LUT file following the page 21 in the general document. The sensitivity map looks fine but reconstructed images make no sense. We think that there would be a problem regarding to castor ID for each detector (but we are not fully sure).
We currently create a binary LUT file as the for loops (*1) suggested in the document. Does the castor ID for detectors follow the order like (*2)?
Any suggestions/comments are welcome.
Thank you and kind regrads,
Daiki Hayakawa
(*1)
for(iLayer=0;iLayer<NLayer;iLayer++)
for(iRing=0;iRing<NRing;iRing++)
for(iDet=0;iDet<NDet;iDet++) {
fwrite(&Posx[iLayer][iRing][iDet],sizeof(FLTNBLUT),1,fPtr);
fwrite(&Posy[iLayer][iRing][iDet],sizeof(FLTNBLUT),1,fPtr);
fwrite(&Posz[iLayer][iRing][iDet],sizeof(FLTNBLUT),1,fPtr);
fwrite(&OrVx[iLayer][iRing][iDet],sizeof(FLTNBLUT),1,fPtr);
fwrite(&OrVy[iLayer][iRing][iDet],sizeof(FLTNBLUT),1,fPtr);
fwrite(&OrVz[iLayer][iRing][iDet],sizeof(FLTNBLUT),1,fPtr);
}
(*2)
for(iLayer=0;iLayer<NLayer;iLayer++)
for(iRing=0;iRing<NRing;iRing++)
for(iDet=0;iDet<NDet;iDet++) {
castorID = iDet + iRing*NDet + l*NRing*NDet;
}
------------------------------------------------------
Daiki HAYAKAWA
Group: TT-PET
DPNC, University of Geneva
E-mail: daiki.hayakawa at cern.ch <mailto:daiki.hayakawa at cern.ch> , Daiki.Hayakawa at unige.ch <mailto:Daiki.Hayakawa at unige.ch>
------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.castor-project.org/pipermail/castor-users/attachments/20180725/f8dd3c57/attachment.html>
More information about the Castor-users
mailing list