villekf / OMEGA

Open-source multi-dimensional tomographic reconstruction software (OMEGA)
https://omega-doc.readthedocs.io/en/latest/index.html
GNU General Public License v3.0
70 stars 16 forks source link

About gate_CT_main.m #26

Closed parsons111 closed 3 years ago

parsons111 commented 3 years ago

Dear villekf,

I think OMEGA is a great work, but I encountered some problems when I ran gate_CT_main.m. I had run the classic CT example of GATE. And I used the "ACQUISITION with 360 projections" in the acquisition.mac of the example. But when I ran the gate_CT_main.m in MATLAB and select one CTimage dat file of 360, I got some errors:

Error using .* Matrix dimensions must agree.

Error in CTDetectorCoordinates (line 88) XY = squeeze(sum(R .* [detCoordX,detCoordY],2))';

Error in reconstructions_mainCT (line 110) [options.x,options.y,options.z] = CTDetectorCoordinates(options.angles,options.sourceToDetector,options.sourceToCRot,options.dPitch,options.xSize,...

Error in gate_CT_main (line 1031) pz = reconstructions_mainCT(options);


How to fix it?

best wishes, Parsons