Closed estab1 closed 3 years ago
Hi @estab1 , thanks for reporting! I'll have more time to look at this a little later today, but I think I've run into relative scaling issues in the past, so normalizing both the reference and reconstruction before comparing may help. I've not used PULSAR before, but I can take a look and see if there are any obvious differences in reconstruction technique -- is the demo recon.m
script a good place to start?
Thanks for your quick reply. recon.m
contains all the parameters needed for the reconstruction. And grappa.m
contains the algorithm itself. So you probably need both to understand the reconstruction technique.
So I took a look at that recon.m
and grappa.m
and I think these are similar parameters to what's happening there:
The following modified basic_grappa.py
script attempts to replicate these:
The results I'm getting seem alright -- I was not able to run PULSAR because I don't have easy access to MATLAB. Do you know if it runs in Octave? A couple notes:
basic_grappa.py
is reconstructing a different scenario: R=4 (Rx=Ry=2) with a smaller calibration region (20x20)(7, 7)
to be a good compromise EDIT: screen shots for posterity
Cranking kernel size and replacing calibration region:
Thank you very much for your reply. I replicated your results with PULSAR_recon.py
using my own phantom data and realized that PULSAR for matlab is producing the same results. I got confused about the results using basic_grappa.py
because I forgot to add Gaussian noise to the k-space like I was doing in my matlab script. And thank you for the tip how to improve the image quality.
Hi, so I was trying to use
grappa
which worked as intented at first. But as soon as I started to create error imagesabs(reconstructed_image - reference_image)
, I realized thatgrappa
is producing aliasing artifacts. The error is also reproducible with the example provided inexamples/basic_grappa.py
. Therefore you only have to add the following code at the end of the example:Before using pygrappa I was using PULSAR which is a grappa implementation for matlab and aliasing artifacts weren't a problem. So my question is, am I missing something or is this a bug.
(I also tried using
cgrappa
andmdgrappa
which led to the same results.)