opc | R Documentation |
Count the number of orientation patches using poly.network
.
opc(mesh, bins = 8, min.size = 3, rotation = 0)
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. |
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
doi: 10.1038/nature05433Evans et al. (2007)
orient
opcr
#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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.