This PR contains all the necessary changes for the new preprocess module.
The demo script "demo_nsi_preprocess.py" is modified according to the new preprocess workflow.
You may use the following two scripts to test the code:
demo/demo_nsi_preprocess.py. This script preprocesses an NSI dataset and performs an MBIR reconstruction with down-sampled sinogram data.
test/test_defective_pixels.py: This test script demonstrates the effect of defective pixels by comparing the following two reconstructions (both use full resolution sinogram data):
Reconstruction with sino weights = 1.0 for all sino pixels.
Reconstruction with sino weights = 0.0 for defective sino pixels.
Note that the second test takes a long time (~2 hours) to finish.
Please let me know if there are other tests you would like me to do before accepting the PR.
This PR contains all the necessary changes for the new preprocess module. The demo script "demo_nsi_preprocess.py" is modified according to the new preprocess workflow. You may use the following two scripts to test the code:
demo/demo_nsi_preprocess.py
. This script preprocesses an NSI dataset and performs an MBIR reconstruction with down-sampled sinogram data.test/test_defective_pixels.py
: This test script demonstrates the effect of defective pixels by comparing the following two reconstructions (both use full resolution sinogram data):Note that the second test takes a long time (~2 hours) to finish.
Please let me know if there are other tests you would like me to do before accepting the PR.