panakino / 3dbpconv

tensorflow implementation for 3D BPConvNet
GNU General Public License v3.0
6 stars 4 forks source link

how to get knee dataset in (*.h5) format #1

Open frshiyi opened 6 years ago

frshiyi commented 6 years ago

As the date found from the website http://mridata.org are all pairs of files ( one header file (.hdr) and one raw kspace data file (.cfl) ), how to convert them to (*.h5) format so that they can be feed to the U-net network?

Thanks a lot!

panakino commented 6 years ago

You may find readReconData.m file in their webpage. This will give you raw k-space output. Then, h5write(builtin matlab function) could be used for writing corresponding h5 fille.

frshiyi commented 6 years ago

Thanks~

Btw, should I use the Fully Sampled Datasets (http://mridata.org/fullysampled/knees) or the Undersampled Datasets (http://mridata.org/undersampled/knees) on the website?

if I use the Fully Sampled Datasets (whose dimension is 320320256*8 as the label input, how to get the sparse input by undersampling these 3D images?

if I use the the Undersampled Datasets (whose dimension is 320x288x236*8 as the sparse input, how to get the corresponding label images?