principal.curvatures | R Documentation |
Computes principal curvatures according to 2 definitions from raw k1 and k2 values.
principal.curvatures(k1_raw, k2_raw)
k1_raw |
numerical vector, one of the two principal curvatures, one value per vertex |
k2_raw |
numerical vector, the other one of the two principal curvatures, one value per vertex |
a named 'principal_curvatures' list, with entries 'principal_curvature_k1': larger value of k1_raw, k2_raw. 'principal_curvature_k2': smaller value of k1_raw, k2_raw. 'principal_curvature_k_major': larger value of abs(k1_raw), abs(k2_raw). 'principal_curvature_k_minor': smaller value of abs(k1_raw), abs(k2_raw).
To obtain k1_raw and k2_raw, use surface.curvatures
to compute it from a mesh, or load the FreeSurfer files 'surf/?h.white.max'
and 'surf/?h.white.min'
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.