fourDto2D | R Documentation |
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)
volume.4d |
a 4D array to be transformed |
tm |
number of time dimensions |
a matrix of size tm x vm which contains the tm images
threeDto4D
twoDto4D
volume.4d <- array(rnorm(96), dim = c(2, 4, 4, 3)) # a fake 4D image array
x.2d <- fourDto2D(volume.4d, tm = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.