Learn R Programming

doolkit (version 1.42.2)

opcr: orientation patch count rotated

Description

Compute the orientation patch count rotated of a triangle mesh.

Usage

opcr(mesh, bins = 8, min.size = 3)

Value

A data.frame displaying the number of patches and their size (number of triangles) for each orientation bin.

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)

References

tools:::Rd_expr_doi("10.1038/nature10880")Wilson et al. (2012)

See Also

opc

orient

OPCr

Examples

Run this code
#8bins (default):
opcr <- opcr(dkmodel$complex)
#16 bins (computation time increase exponentially):
opcr <- opcr(dkmodel$complex, bins = 16)

Run the code above in your browser using DataLab