summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2014-06-12 13:56:34 +0000
committerwpalenst <Willem.Jan.Palenstijn@cwi.nl>2014-06-12 13:56:34 +0000
commit674fd8a9be846434f8a589b989e7350d8764165a (patch)
tree6ec01e41f3d071f7cee920beeb2455d37cdd5924
parent63594f898b3581b0743b3540a70c30b9b76a0362 (diff)
downloadastra-674fd8a9be846434f8a589b989e7350d8764165a.tar.gz
astra-674fd8a9be846434f8a589b989e7350d8764165a.tar.bz2
astra-674fd8a9be846434f8a589b989e7350d8764165a.tar.xz
astra-674fd8a9be846434f8a589b989e7350d8764165a.zip
Fix coordinate order in astra_geom_size for parallel3d/cone
-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];