Skip to content

posterior sampling (from the paper "deep bayesian inversion") for MRI uncertainty quantification and reconstruction

License

Notifications You must be signed in to change notification settings

birajaghoshal/posterior-sampling-UQ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

posterior sampling for reconstruction and uncertainty quantification

Posterior sampling (from the paper "Deep Bayesian Inversion") for MRI uncertainty quantification and reconstruction

Problem Formulation

The code here is to solve an inverse problem by conditional WGAN. The optimization problem can be defined below. formula Actually, this loss might cause mode collapse and the implementation is different from the loss function. For more details, please refer to Deep Bayesian Inversion.

Results

Here is pixel-wise standard deviation for masks with sampling rate 0.1 and 0.5, which is the quantified uncertainty from posterior samples. pixel-wise standard deviation for masks with sampling rate 0.1 and 0.5

We can calculate the mean of the posterior samples for reconstruction. We also use the uncertainty to design the mask and compare with baseline(1D Gaussian). compare designed mask and 1D Gaussian recon

We also obtain the uncertainty in the frequency domain below, which can be used for mask design. frequency domain

the predicted uncertainty has strong correlations with PSNR and MSE, which is shown below. correlation between PSNR/MSE and uncertainty

The figure below shows the comparison between our mask design method and other baselines. compare with baselines

Usage

The code can't run since I don't provide the MRI dataset. If you have 256x256 complex MRI dataset, you can modify the class MRIDataSet in mri_utils.py. For other applications, you may modify the code or contact me for more details.

  • train.py: train the conditional WGAN
  • model_eval_3_5.ipynb: visualize the results
  • uncertainty_descent.ipynb: mask design using uncertainty

About

posterior sampling (from the paper "deep bayesian inversion") for MRI uncertainty quantification and reconstruction

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published