LittleBrainLab / microbrain

Fully automated whole-brain diffusion MRI analysis of grey matter
1 stars 2 forks source link

RAM usage > 12GB on HCP dataset at beginning of segmentation algorithm #6

Open grahamlittlephd opened 2 years ago

grahamlittlephd commented 2 years ago

Must be reading in the full DWI dataset somewhere.

This should not be needed as the new algorithm only needs mead DWI, FA map and MD map.

grahamlittlephd commented 2 years ago

Problem comes from passing filenames rather than image objects to different functions. Should change this structure in the future to avoid reading in multiple verions of the same files. This should have no effect on the user.

Other than being slower, this is only an issue in the case when really large (size in GBs) images are input to microbrain