opc {doolkit} | R Documentation |
orientation patch count
Description
Count the number of orientation patches using poly.network
.
Usage
opc(mesh, bins = 8, min.size = 3, rotation = 0)
Arguments
mesh |
object of class mesh3d |
bins |
the number of orientation bins to be defined (default set to 8) |
min.size |
the minimal amount of polygons defining a "patch" (default set to 3) |
rotation |
if applicable, the number of degrees to which bins are to be rotated. By default the bins start from an angle of pi/2 and rotates clockwise. |
Value
A data.frame displaying the number of patches and their size (number of triangles)
for each orientation bin. Note: if you want the surface area of each patch, seepoly.network
References
doi:10.1038/nature05433Evans et al. (2007)
See Also
Examples
#8 bins (default):
opc <- opc(dkmodel$complex)
#8 bins starting from mesial, as in Evans et al. 2007:
opc <- opc(dkmodel$complex, rotation = -(360/16))
#4 bins (mesial, buccal, distal and lingual):
opc <- opc(dkmodel$complex, bins = 4, rotation = -(360/8))
[Package doolkit version 1.42.2 Index]