summaryrefslogtreecommitdiffstats
path: root/supp/add_wedges.m
diff options
context:
space:
mode:
authorDaniil Kazantsev <dkazanc@hotmail.com>2017-07-04 09:35:02 +0100
committerDaniil Kazantsev <dkazanc@hotmail.com>2017-07-04 09:35:02 +0100
commite097a4edcced2bbc8c78d1302467bdf625deff1d (patch)
treea848dc49c06ed462988d2f6cce7f2a2212bc4f36 /supp/add_wedges.m
parent75e7ebc79e86710c4cfb05b8af8e429146288c85 (diff)
downloadregularization-e097a4edcced2bbc8c78d1302467bdf625deff1d.tar.gz
regularization-e097a4edcced2bbc8c78d1302467bdf625deff1d.tar.bz2
regularization-e097a4edcced2bbc8c78d1302467bdf625deff1d.tar.xz
regularization-e097a4edcced2bbc8c78d1302467bdf625deff1d.zip
some clearing
Diffstat (limited to 'supp/add_wedges.m')
-rw-r--r--supp/add_wedges.m35
1 files changed, 0 insertions, 35 deletions
diff --git a/supp/add_wedges.m b/supp/add_wedges.m
deleted file mode 100644
index 5bc215c..0000000
--- a/supp/add_wedges.m
+++ /dev/null
@@ -1,35 +0,0 @@
-% create a wedge mask to simulate the missing wedge
-
-[rows, columns] = size(sino_zing_rings);
-grayImage = ones(rows, columns, 'uint8');
-xCoords = [0 360 0];
-yCoords = [35 7 7];
-mask = poly2mask(xCoords, yCoords, rows, columns);
-grayImage(mask) = 0;
-
-xCoords = [727 360 727];
-yCoords = [35 7 7];
-mask = poly2mask(xCoords, yCoords, rows, columns);
-grayImage(mask) = 0;
-
-xCoords = [0 360 0];
-yCoords = [145 173 173];
-mask = poly2mask(xCoords, yCoords, rows, columns);
-grayImage(mask) = 0;
-
-xCoords = [727 360 727];
-yCoords = [145 173 173];
-mask = poly2mask(xCoords, yCoords, rows, columns);
-grayImage(mask) = 0;
-
-grayImage(1:7,:) = 0;
-grayImage(173:end,:) = 0;
-
-%figure; imshow(grayImage, [0 1]);
-MW_sino_artifacts = sino_zing_rings.*double(grayImage);
-% !!!
-% note that we do not re-calculate Dweights for MW_sino_artifacts
-% if one does: Dweights = Dweights.*double(grayImage);
-% then the MW artifacts will be reduced substantially,
-% through weighting. However we would like to explore
-% the effect of the penalty instead. \ No newline at end of file