From 674fd8a9be846434f8a589b989e7350d8764165a Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Thu, 12 Jun 2014 13:56:34 +0000 Subject: Fix coordinate order in astra_geom_size for parallel3d/cone --- matlab/tools/astra_geom_size.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'matlab/tools') 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]; -- cgit v1.2.3