hessian | R Documentation |
This function returns the eigenvalues of the hessian matrices for a 3D array or NIfTI volume.
hessian(image, mask, radius = 1, parallel = FALSE, cores = 2)
image |
a 3D array or image of class |
mask |
an array or |
radius |
an integer specifying radius of the neighborhood (in voxels) for which the hessian should be calculated |
parallel |
is a logical value that indicates whether the user's computer is Linux or Unix (i.e. macOS), and should run the code in parallel |
cores |
if parallel = TRUE, cores is an integer value that indicates how many cores the function should be run on |
A list of three eigenvalue volumes.
## Not run: library(neurobase) epi <- readnii('path/to/epi') mask <- epi!=0 hesseigs <- hessian(image = epi, mask = mask) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.