Let’s reset and read in the T1 image from a MS lesion data set:
t1 = neurobase::readnii("training01_01_t1.nii.gz") t1[ t1 < 0 ] = 0
Let’s reset and read in the T1 image from a MS lesion data set:
t1 = neurobase::readnii("training01_01_t1.nii.gz") t1[ t1 < 0 ] = 0