summaryrefslogtreecommitdiffstats
path: root/matlab/tools
diff options
context:
space:
mode:
Diffstat (limited to 'matlab/tools')
-rw-r--r--matlab/tools/astra_geom_size.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/matlab/tools/astra_geom_size.m b/matlab/tools/astra_geom_size.m
index c4956f5..7044515 100644
--- a/matlab/tools/astra_geom_size.m
+++ b/matlab/tools/astra_geom_size.m
@@ -10,7 +10,7 @@ function s = astra_geom_size(geom, dim)
s = [numel(geom.ProjectionAngles), geom.DetectorCount];
elseif strcmp(geom.type,'parallel3d') || strcmp(geom.type,'cone')
- s = [geom.DetectorRowCount, numel(geom.ProjectionAngles), geom.DetectorColCount];
+ s = [geom.DetectorColCount, numel(geom.ProjectionAngles), geom.DetectorRowCount];
elseif strcmp(geom.type,'fanflat_vec')
s = [size(geom.Vectors,1), geom.DetectorCount];