cabouman / mbirjax

MBIRJAX is a Python package for Model Based Iterative Reconstruction (MBIR) of images from tomographic data.
https://mbirjax.readthedocs.io
BSD 3-Clause "New" or "Revised" License
7 stars 3 forks source link

MAR weight #41

Closed dyang37 closed 2 months ago

dyang37 commented 2 months ago

This PR contains the function to generate the weight for metal artifact reduction, along with a function to segment an image with Otsu's method.

Function interfaces: MAR weight: Screen Shot 2024-07-24 at 3 42 36 PM

Otsu's method image

Both the MAR weight and Otsu's method have been tested on two datasets (MAR dataset, AutoInjector).

To test:

  1. checkout branch mar_weight, and build mbirjax.
  2. Go to mbirjax_applications and checkout branch mar_weight.
  3. Run demo_nsi_mar.py. This script takes about 5 minutes to run on Gilbreth.
cabouman commented 2 months ago

Diyu, you need to do the PR to the prerelease branch. That way we can test everything before doing a final PR into main. I'm closing this PR.