Hello,
When I run the command "mris_volmask --label_left_white 2 --label_left_ribbon 3 --label_right_white 41 --label_right_ribbon 42 --save_ribbon --save_distance DK1" I get the following error:
ERROR: opening pipe gzip -f -c > /home/hammer/a/gonzalj/MirrorNeurons//DK1/mri/lh.dpial.ribbon.mgz, errno = 12 Cannot allocate memory mghWrite(/home/hammer/a/gonzalj/MirrorNeurons//DK1/mri/lh.dpial.ribbon.mgz, -1): could not open file
I had this error on a previous step and managed to solve it by means of using directories with COR files instead of a single mgz file for input and output. I do not see any option in mris_volmask to force it to write each COR file independently instead of a single .mgz file. How can I do this so I do not run into a memory problem? Also, any other ideas?
Thanks a lot,
Javier.