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
e6d7f975
Commit
e6d7f975
authored
Oct 11, 2019
by
mreichardt
Browse files
changed astraFDK for single slices
parent
07f469e2
Pipeline
#111059
passed with stage
in 1 minute and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
functions/tomography/astraWrappers/astraFDK.m
View file @
e6d7f975
...
...
@@ -137,6 +137,11 @@ if isempty(settings.outputSize)
settings
.
outputSize
=
2
*
floor
(
size
(
projs
,
2
)/(
2
*
sqrt
(
2
)));
end
% check and correct size of projs
if
ndims
(
projs
)
<
3
projs
=
reshape
(
projs
,
[
1
size
(
projs
,
1
)
size
(
projs
,
2
)]);
end
%% check usage
if
numel
(
tomoAngles
)
~=
size
(
projs
,
3
)
error
(
'Number of tomographic angles does not match number of projections'
);
...
...
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