if (is_not_cran()) {
mesh <- vcg_isosurface(left_hippocampus_mask)
repaired <- vcg_fix_defects(mesh, verbose = TRUE)
attr(repaired, "info")$is_closed_manifold
# repaired mesh can now be inflated
inflated <- mris_inflate(repaired, scale_brain = FALSE)
}
Run the code above in your browser using DataLab