opcr: orientation patch count rotated

View source: R/topography.R

opcrR Documentation

orientation patch count rotated

Description

Compute the orientation patch count rotated of a triangle mesh.

Usage

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

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)

Value

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

References

doi: 10.1038/nature10880Wilson et al. (2012)

See Also

opc

orient

OPCr

Examples

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

doolkit documentation built on Feb. 16, 2023, 11 p.m.