morphomapSegm {morphomap} | R Documentation |
morphomapSegm
Description
Separate a mesh from its visible and not visible components by using CA-LSE method
Usage
morphomapSegm(mesh, views = 30, param1 = 4, num.cores = NULL)
Arguments
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 |
Details
The result could be affected by the value set in the param1
argument. Before running morphomapCore
please the periosteal and endosteal surfaces.
Value
external mesh3d of the visible facets from the points of view
internal mesh3d of the not visible facets from the points of view
Author(s)
Antonio Profico, Luca Bondioli, Pasquale Raia, Paul O'Higgins, Damiano Marchi
References
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.
Examples
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")
}