powered by
This function transforms a 4D image array into a 2D image matrix by unrolling space. This is usefull to perform a subsequent ICA.
fourDto2D(volume.4d, tm)
a 4D array to be transformed
number of time dimensions
matrix of size tm x vm which contains the tm images
threeDto4D twoDto4D
threeDto4D
twoDto4D
# NOT RUN { # TODO!! # }
Run the code above in your browser using DataLab