cabouman / mbircone

BSD 3-Clause "New" or "Revised" License
11 stars 9 forks source link

Correct defective pixels with mean of neighborhood #147

Closed dyang37 closed 1 year ago

dyang37 commented 1 year ago

This PR modifies the way defective pixels are handled in NSI preprocess function NSI_load_scans_and_params().

The values of defective pixels will be replaced by the mean of its neighborhood pixels in the scan images. The sino weight of corresponding pixels are NOT set to 0.0 anymore.

dyang37 commented 1 year ago

Close this PR for further modification.