A collection of functions and scripts which produces slightly simplified figures used in our paper Computing segmentations directly from x-ray projection data via parametric deformable curves. (Open-access accepted author version of the manuscript can be found here.) Please cite our paper, if you use our code in your research.
@article{dahl2017computing,
title={Computing segmentations directly from x-ray projection data via parametric deformable curves},
author={Vedrana Andersen Dahl and Anders Bjorholm Dahl and Per Christian Hansen},
journal={Measurement Science and Technology},
volume={29},
number={1},
pages={014003},
year={2017},
publisher={{IOP} Publishing}
}
Illustration (Figure 7 from our paper) shows,
top row: test object, noise-free sinogram, noisy sinogram, evolution of the curve starting from the circle;
bottom row: resulting curve, resulting predicted sinogram, resulting residual and resulting reconstruction.
Download the code, and run it in MATLAB. To produce the different results shown in our paper, you will need to change the values of the settings and comment/uncomment pieces of code as indicated in the comments. Also, check our paper to see which value ranges are reasonable. The translation between variable names in the paper and in the code is found below.
Most of the scripts should run as-is. However, comparison with SART and DART (Figure 13) requires
ASTRA toolbox.
Additionally, for forward projections in Figures 14-16 we use
AIRtools for results included in the paper. However, with a little bit of tweaking (as explained in the comments and included in the code), radon
function can be used instead.