Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add noise uncorrelation (data pre-whitening) before the reconstruction #140

Merged
merged 12 commits into from
Feb 10, 2023
Merged

Add noise uncorrelation (data pre-whitening) before the reconstruction #140

merged 12 commits into from
Feb 10, 2023

Conversation

Laura2305
Copy link
Contributor

@codecov-commenter
Copy link

codecov-commenter commented Jan 25, 2023

Codecov Report

Base: 63.05% // Head: 65.67% // Increases project coverage by +2.61% 🎉

Coverage data is based on head (1967d5d) compared to base (a616737).
Patch coverage: 100.00% of modified lines in pull request are covered.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #140      +/-   ##
==========================================
+ Coverage   63.05%   65.67%   +2.61%     
==========================================
  Files           8        9       +1     
  Lines         249      268      +19     
==========================================
+ Hits          157      176      +19     
  Misses         92       92              
Impacted Files Coverage Δ
src/Reconstruction/IterativeReconstruction.jl 48.59% <100.00%> (+1.48%) ⬆️
src/Reconstruction/RecoParameters.jl 82.45% <100.00%> (+1.68%) ⬆️
src/Reconstruction/Reconstruction.jl 53.84% <100.00%> (ø)
src/Tools/NoiseDeCorr.jl 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@alexjaffray alexjaffray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! I've incorporated a few suggestions in my review. I think there is a question whether we should change the output of setupIterativeReco and the input arguments of reconstruction_multiCoil to accommodate the passing of L_inv or whether we should pass L_inv as part of the recoParams struct. Perhaps @tknopp can weigh in on this.

.vscode/settings.json Outdated Show resolved Hide resolved
src/Reconstruction/IterativeReconstruction.jl Outdated Show resolved Hide resolved
src/Reconstruction/IterativeReconstruction.jl Outdated Show resolved Hide resolved
src/Reconstruction/IterativeReconstruction.jl Outdated Show resolved Hide resolved
src/Tools/NoiseDeCorr.jl Outdated Show resolved Hide resolved
params[:reco] = "multiCoil" #"standard"
params[:reconSize] = (N,N)
params[:regularization] = "L2"
params[:iterations] = 100
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we should choose a smaller number of iterations (~20)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

20 iterations are not enough to reach the solution, when I use 20 I can still see ghosting artefacts. I tried with 100 and the artefacts are still there, after the noise decorrelation. With 150 I get the desired result.

src/Reconstruction/RecoParameters.jl Outdated Show resolved Hide resolved
Co-authored-by: Jeff Fessler <JeffFessler@users.noreply.github.com>
@tknopp
Copy link
Member

tknopp commented Feb 10, 2023

This PR looks very good, thank you @Laura2305. I would merge this if there are no objections.

@Laura2305
Copy link
Contributor Author

You're welcome. I'll have time to implement the raw data pre-whitening for the multi-coil, multi-echo reconstruction next week. I can open a new PR for that, or we can keep this one open for a few more days, as you prefer.

@tknopp
Copy link
Member

tknopp commented Feb 10, 2023

Let's merge this. The multi-echo case can be implemented later. I gave you access rights so that you can also work on branches within this repository. This is often easier than to use a fork.

@tknopp tknopp merged commit 2856ec3 into MagneticResonanceImaging:master Feb 10, 2023
@Laura2305 Laura2305 deleted the SNR_opt_reco branch February 15, 2023 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants