This is the GitHub repository for MIDL 2022 paper "Signal Domain Learning Approach for Optoacoustic Image Reconstruction from Limited View Data" that is accepted for oral presentation.
The paper proposes a "Style Network" to reduce domain gap between simulated and experimental optoacoustic data. After the reduction of domain gap, another network called "Side Network" is trained on the simulated data to remove limited view artifacts in optoacoustic imaging. Then, the trained "Side Network" is applied on the experimental data.
Conference webpage: MIDL 2022
All accepted papers: OpenReview MIDL
main
contains scripts to train the model. This is a generic call for different options.trainFull
full end-to-end training with DA and sides prediction at the same time.trainStyle
train style on linear or multisegment parts.trainSidesDA
AE for the prediction of sides.
options
all options for training.utils
various related functions. Should be cleaned a bit.model
all versions of the networks.dataLoader
generic data loader for different types of data (signal vs image). It crops and scales the images inside.
trainStyleImage
train same procedure but on images instead of signal.trainSidesRegression
train predictions of the sides without DA.
validationModel
Validation of the signal. Produces .h5 file with predictions on test set.validationReconstruction
Validation of the reconstruction from the signal.
reconstructions
TBD.ReconstructionBP
BackProjection scripts from Berkan.ReconstructionMB
Linear model based reconstruction scripts from Berkan.
PaperFigure
Main plots from the paper.Show signal
Look at the example of reconstructed signal.Benchmark from Firat
Convert results from Firat to my plotting format.
pipeline0
History of calls.pipeline1
History of calls.validation.sh
Call for scripts to perform generic validation of the model.benchmarks.sh
Benchmarks necessary for the ablation study.
--mode styleFull
End-to-end DA and predictions.--mode styleLinear
Style transfer/DA only on linear parts.--mode styleMulti
Style transfer/DA only on multisegment parts.--mode styleImages
Everything in image domain.--mode sidesAE
AE for sides predictions.--mode sidesTwo
Simple predictions.
--dataset Forearm
All path to the forearm data.--dataset Finger
All path to the finger data.
You can find a full list of parameters with defaults and comments in: options
.
python main.py --mode styleFull --lr 0.001 --device cuda:0\ --prefix FullModelL1 --num_epochs 100 --burnin 0 \ --normalization batch --batch_size 16 --weight_sides 10\ --weight_adv_latent 0.01 --weight_adv 0.1 --weight_grad_adv 0.001\ --n_iters 4 --loss l1\ --pretrained_style None\ --pretrained /home/anna/style_results/FullModel2021-09-27_styleFull_batch/
If you use this package in your research, please cite the following paper:
Signal Domain Learning Approach for Optoacoustic Image Reconstruction from Limited View Data
This project is supported by Swiss Data Science Center (SDSC) grant C19-04.
This project is licensed under MIT License.