powered by
This function transform a 2D matrix of size tm x vm containing images in each row into a 4D array image.
twoDto4D(x.2d, dim)
a 2D matrix to be transformed
vector of length 4 containing the dimensions of the array. dim[1:3] are the space dimensions. dim[4] is the time dimension
a 4D array image
threeDto4D fourDto2D
threeDto4D
fourDto2D
# NOT RUN { # TODO !! # }
Run the code above in your browser using DataLab