OMEGA icon indicating copy to clipboard operation
OMEGA copied to clipboard

About gate_CT_main.m

Open parsons111 opened this issue 2 years ago • 6 comments

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

parsons111 avatar Jul 10 '21 07:07 parsons111