<div dir="ltr"><div>Dear Konstantinos</div><div>Thank you for your reply</div><div>I used a simple code in MATLAB to combine the (.dat) files and write it to (.Cdf). I used a CT classic similar to the GATE example. </div><div>
<span class="gmail-HwtZe" lang="en"><span class="gmail-jCAhz gmail-ChMk0b"><span class="gmail-ryNqvb">Thank you, if you have a suggestion to solve this problem, please let me know.</span></span></span></div><div><span class="gmail-HwtZe" lang="en"><span class="gmail-jCAhz gmail-ChMk0b"><span class="gmail-ryNqvb">Best, <br></span></span></span></div><div><span class="gmail-HwtZe" lang="en"><span class="gmail-jCAhz gmail-ChMk0b"><span class="gmail-ryNqvb">Hadi<br></span></span></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 27, 2024 at 3:57 AM Konstantinos P. Chatzipapas <<a href="mailto:kwnchatz@upatras.gr">kwnchatz@upatras.gr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Dear Hadi,</p>
<p>There are probably many things that could go wrong with your application. For example you say that you combined and converted them. How exactly? How did you assigned the pixels ID? How does your geometry file looks like?</p>
<p>Best,<br>Konstantinos</p>
<div id="m_4864237324264509566signature">---<br>
<div style="margin:0px;padding:0px;font-family:monospace"><hr><strong><span style="font-size:9pt;font-family:terminal,monaco,monospace">Konstantinos Chatzipapas</span></strong></div>
<div style="margin:0px;padding:0px;font-family:monospace"><span style="font-size:9pt;font-family:terminal,monaco,monospace">Medical Physicist, Ph.D.</span></div>
</div>
<p id="m_4864237324264509566reply-intro">Στις 27-03-2024 04:34, Hadi Rezaei έγραψε:</p>
<blockquote type="cite" style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px">
<div id="m_4864237324264509566replybody1">
<div dir="ltr">
<div>Dear Castor users</div>
<div>I simulated a CT scanner using GATE and got 180 imageCT (.dat) output projections. I combined them and converted them to '.Cdf" in float 32. For reconstruction, I used the following command but found the following error.</div>
<div>I appreciate any guidance.   </div>
<div> </div>
<div>/castor-recon -df benchmark_ct_histogram.Cdh -fout CT_test -oit -1 -it 4:25 -dim 50,50,5 -vox 2,2,2.5 -opti MLTR -th 0 -slice-out 1 -proj distanceDriven -vb 2</div>
<div> </div>
<div>***** iScannerCT::GetPositionsAndOrientations() -> Projection index (16777216) out of range [0:179] !<br>***** vProjector::Project() -> A problem occurred while getting positions and orientations from scanner !<br>***** oProjectorManager::ComputeProjectionLine() -> A problem occurred while forward projecting an event !<br>***** iIterativeAlgorithm::StepInnerLoopInsideSubsetLoop() -> A problem occurred while computing the projection line !<br>---***** iScannerCT::GetPositionsAndOrientations() -> Projection index (16777216) out of range [0:179] !<br>***** vProjector::Project() -> A problem occurred while getting positions and orientations from scanner !<br>***** oProjectorManager::ComputeProjectionLine() -> A problem occurred while forward projecting an event !<br>***** iIterativeAlgorithm::StepInnerLoopInsideSubsetLoop() -> A problem occurred while computing the projection line !<br>***** iScannerCT::GetPositionsAndOrientations() -> Projection index (16777216) out of range [0:179] !<br>***** vProjector::Project() -> A problem occurred while getting positions and orientations from scanner !<br>***** oProjectorManager::ComputeProjectionLine() -> A problem occurred while forward projecting an event !<br>***** iIterativeAlgorithm::StepInnerLoopInsideSubsetLoop() -> A problem occurred while computing the projection line !<br>----------------------------------------------|<br>***** iIterativeAlgorithm::StepInnerLoopInsideSubsetLoop() -> A problem occurred inside the parallel loop over events !<br>***** vAlgorithm::IterateCPU() -> A problem occurred while calling StepInnerLoopInsideSubsetLoop() function !<br>***** castor-recon() -> Error while performing the reconstruction<br>***** Exit function called. Abort with code 1.<br><br><br></div>
<div> </div>
</div>
</div>
<br>
<div style="margin:0px;padding:0px;font-family:monospace">_______________________________________________<br>Castor-users mailing list<br><a href="mailto:Castor-users@lists.castor-project.org" target="_blank">Castor-users@lists.castor-project.org</a><br><a href="https://lists.castor-project.org/mailman/listinfo/castor-users" rel="noopener noreferrer" target="_blank">https://lists.castor-project.org/mailman/listinfo/castor-users</a><br><br>To look for something in the mailing-list archives, use the search box at:<br><a href="https://castor-project.org/mailing-list" rel="noopener noreferrer" target="_blank">https://castor-project.org/mailing-list</a></div>
</blockquote>
</div>
</blockquote></div>