powered by
This is a function that restores the vectorized image to its original dimensions, reduced in dimension by the radial basis function.
rec(Q, imagedim, B = NULL, mask = NULL)
a vector for reduced data.
a vector for original dimension.
a list or a matrix indicating the basis function used in the dimension reduction.
a list or a matrix indicating the mask image used in the dimension reduction.
rec requires a vector to be converted to a array.
rec
imagedim1=c(10,10,10) recvec = rec(rnorm(prod(imagedim1)), imagedim1)
Run the code above in your browser using DataLab