fastmri-reproducible-benchmark icon indicating copy to clipboard operation
fastmri-reproducible-benchmark copied to clipboard

question about mask

Open WuJiaMian opened this issue 2 years ago • 1 comments

Hello,author! I have a simple question that how to create a Gauss2d mask. Could you share the code of creating a 2dgauss mask? Thanks a lot.

WuJiaMian avatar Dec 23 '22 07:12 WuJiaMian

Hi @WuJiaMian ,

Thanks for the interest in this repo. So basically to create a Gaussian 2d mask, you should add a function doing exactly that in the util with the masking functions (here), and then use that in the preprocessing step here for single coil (and here for multicoil).

Unfortunately I don't have the code for the Gaussian 2d mask simply because it's not physically relevant. In this repo I tried to stick to the masks that are used in the fastMRI dataset which is really the strongest benchmark in MRI reconstruction.

I would be happy to review a PR with your implementation if you want some validation but of course you can do that in your own fork without including it in this repo.

Cheers

zaccharieramzi avatar Jan 06 '23 11:01 zaccharieramzi