summaryrefslogtreecommitdiffstats
path: root/samples/matlab/s014_FBP.m
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2018-12-05 12:03:14 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2018-12-06 13:57:35 +0100
commit7bfc5b3713f750efe21992fcd8d02e840d5d4867 (patch)
tree4daeac31555bc6b568b5f8766cd27c90096d578e /samples/matlab/s014_FBP.m
parente8be82070824fa370285142550c1e708561bd63d (diff)
downloadastra-7bfc5b3713f750efe21992fcd8d02e840d5d4867.tar.gz
astra-7bfc5b3713f750efe21992fcd8d02e840d5d4867.tar.bz2
astra-7bfc5b3713f750efe21992fcd8d02e840d5d4867.tar.xz
astra-7bfc5b3713f750efe21992fcd8d02e840d5d4867.zip
Read filter config for FBP from cfg.options
Since these settings are optional, they should have been in cfg.options instead of directly in cfg. The old syntax remains a fallback. This has the side-effect that the tomopy/astra interface can also supply them.
Diffstat (limited to 'samples/matlab/s014_FBP.m')
-rw-r--r--samples/matlab/s014_FBP.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/matlab/s014_FBP.m b/samples/matlab/s014_FBP.m
index 1fc6f90..038aa90 100644
--- a/samples/matlab/s014_FBP.m
+++ b/samples/matlab/s014_FBP.m
@@ -24,7 +24,7 @@ rec_id = astra_mex_data2d('create', '-vol', vol_geom);
cfg = astra_struct('FBP_CUDA');
cfg.ReconstructionDataId = rec_id;
cfg.ProjectionDataId = sinogram_id;
-cfg.FilterType = 'Ram-Lak';
+cfg.option.FilterType = 'Ram-Lak';
% possible values for FilterType:
% none, ram-lak, shepp-logan, cosine, hamming, hann, tukey, lanczos,