facebookresearch / fastMRI

A large-scale dataset of both raw MRI measurements and clinical MRI images.
https://fastmri.org
MIT License
1.35k stars 374 forks source link

How to obtain undersampled k space brain data say with acceleration factor 8? #118

Closed creator2020A closed 3 years ago

creator2020A commented 3 years ago

I am trying to get undersampled k space brain data . In the literature I have read that low frequencies ( or middle portion) data is not undersampled but only the high frequencies. But I do not have the details, upto what number it is termed as middle for say an image size of 768 by 368. Is there code or example to show how to obtain undesampled k space data from the full kspace data?

mmuckley commented 3 years ago

Hello @creator2020A, you use this function: https://github.com/facebookresearch/fastMRI/blob/0f538a353e4a5c855012b8f982f756d489d11462/fastmri/data/subsample.py#L205-L222

You specify the mask type that you want, the percentage to include from the center, and the overall undersampling rate.