View source: R/morphomapSegm.R
morphomapSegm | R Documentation |
Separate a mesh from its visible and not visible components by using CA-LSE method
morphomapSegm(mesh, views = 30, param1 = 4, num.cores = NULL)
mesh |
object of class mesh3d |
views |
numeric: number of points of view |
param1 |
numeric: first parameter for spherical flipping (usually ranged between 3 and 4) |
num.cores |
numeric: number of cores |
The result could be affected by the value set in the param1
argument. Before running morphomapCore
please the periosteal and endosteal surfaces.
external mesh3d of the visible facets from the points of view
internal mesh3d of the not visible facets from the points of view
Antonio Profico, Luca Bondioli, Pasquale Raia, Paul O'Higgins, Damiano Marchi
Profico A., Schlager S., Valoriani V., Buzi C., Melchionna M., Veneziano A., Raia P., Moggi-Cecchi J. and Manzi G., 2018. Reproducing the internal and external anatomy of fossil bones: Two new automatic digital tools. American Journal of Physical Anthropology 166(4): 979-986.
if(interactive()){
#automatic separation of external and medullar femur components
require(rgl)
data(HomFem38023)
meshes<-morphomapSegm(HomFem38023,param1=4)
perMesh<-meshes$external
endMesh<-meshes$internal
rgl::open3d()
rgl::wire3d(perMesh,col="grey")
rgl::wire3d(endMesh,col="red")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.