Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
irp
HoloTomoToolbox
Commits
9fa19a53
Commit
9fa19a53
authored
Jul 03, 2019
by
Simon Maretzke
Browse files
floor and ceil seems wrong here (see documentation astra_create_vol_geom)
parent
ab34f770
Pipeline
#100811
passed with stage
in 1 minute and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
functions/tomography/astraWrappers/astraFDK.m
View file @
9fa19a53
...
...
@@ -156,8 +156,8 @@ end
% coordinate in y, minimum coordinate in z, maximum coordinate in z
volGeom
=
astra_create_vol_geom
(
settings
.
outputSize
,
settings
.
outputSize
,
...
settings
.
numSlices
,
-
settings
.
outputSize
/
2
,
settings
.
outputSize
/
2
,
...
-
settings
.
outputSize
/
2
,
settings
.
outputSize
/
2
,
settings
.
offset
-
floor
(
settings
.
numSlices
/
2
)
,
...
settings
.
offset
+
ceil
(
settings
.
numSlices
/
2
)
)
;
-
settings
.
outputSize
/
2
,
settings
.
outputSize
/
2
,
settings
.
offset
-
settings
.
numSlices
/
2
,
...
settings
.
offset
+
settings
.
numSlices
/
2
);
% create initial volume for the reconstruction
volID
=
astra_mex_data3d
(
'create'
,
'-vol'
,
volGeom
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment