powered by
kmeansMask(x)
file<-system.file("extdata","motion_ex.nii.gz",package="FIACH") arr<-readNii(file)[,,,1] mask<-kmeansMask(arr)
Run the code above in your browser using DataLab