Closed dyang37 closed 1 year ago
compute_sino_weight_from_scans
to transmission_CT_preprocess
.NSI_process_raw_scans
to NSI_load_scans
.NSI_read_params
to NSI_load_params
weight_type
-> weight_type_ct
. square_root_weighting
: $\sqrt{I/\bar{I}_0}$, where $\bar{I_0}$ is the averaged open beam value across all detector pixels.
regular_weighting
: $(I/\bar{I}_0)^\beta$
beam_hardening_weighting
. A possibility for the future.Closing this PR for now. We can reopen this once we reach consensus on the interface design of preprocess module.
This is a PR to merge preprocess module into master branch. See below for preprocess API docstrings: mozilla.pdf
I tested on various NSI datasets to make sure that the default parameters work on all corner cases we have encountered so far (landscape vs. portrait mode, horizontal/vertical flip of the radiograph, etc.).