Dear SPMers,
I'm trying to create a mask using one of the probability maps available in the Anatomy toolbox. Because the values were in the range 0-255 I divided them by 255 to get values between 0 and 1.
anatomy_mask = spm_read_vols(spm_vol(spm_select()));
anatomy_mask_update = anatomy_mask(anatomy_mask./255);
How can I write anatomy_mask_update to an .img file now?
Thank you!
AJ
|