Learn R Programming

⚠️There's a newer version (5.3) of this package.Take me there.

molaR (version 4.4)

Dental Surface Complexity Measurement Tools

Description

Surface topography calculations of Dirichlet's normal energy, relief index, surface slope, and orientation patch count for teeth using scans of enamel caps. Importantly, for the relief index and orientation patch count calculations to work, the scanned tooth files must be oriented with the occlusal plane parallel to the x and y axes, and perpendicular to the z axis. The files should also be simplified, and smoothed in some other software prior to uploading into R.

Copy Link

Version

Install

install.packages('molaR')

Monthly Downloads

312

Version

4.4

License

ACM

Maintainer

James D. Pampush

Last Published

September 18th, 2018

Functions in molaR (4.4)

RFI3d

Plot 3D and 2D areas of a mesh used to calculate relief index
index_paired_directed_faces

Index of paired faces with directions
Check2D

Plot 2D footprint and footprint triangle points to check for erros in 2D calculation
face_areas

Function to calculate face areas.
OPC

Calculate orientation patch count of a surface
Face_Normals

Function to find Face Normals
ex_tooth2

4147_DU-LP-07_LM1
DNE

Calculate Dirichlet normal energy of a surface
RFI_Legend

function for building a legend for RFI
molaR_Batch

Run a batch of molaR analyses
DNE3d

Plot results of a DNE analysis of a surface
DNE_Legend

Make legend for DNE3d plot
Directional_Bins

This bins the faces into directional categories
Equal_Vertex_Normals

Important function for re-doing the vertex normals for the DNE calculation.
Slope

Function to calculate the average slope of a surface
Slope3d

Plot results of a Slope analysis of a surface
clustered_patches

A clustering function
compute_energy_per_face

Function will compute the DNE per face.
edge_vertices

Function for finding the edge vertices
patch_details

Function for gathering patch details for each Orientation patch
ex_tooth1

4149_DU-LP-09_LM1
read.AVIZO.ply

Read mesh data from ply files saved by AVIZO
remove_boundary_faces

Remove boundary faces
OPCr

Calculate average orientation patch count after several rotations
RFI

Calculate Boyer's (2008) relief index for a surface
patches_for_each_direction

Function for gathering the patches for each direction
vertex_to_face_list

function for making a list of faces on each vertex
molaR_Clean

Clean up problem ply files
molaR_bgplot

Internal function for making molaR plot legends
patches_per

A function for patches within each face
plyClip

Clip a ply file
OPC3d

Plot results of OPC analysis of a surface
OPC_Legend

function for building a legend in OPC plots
Slope_Legend

Plotting subfunction for making slope plot legend
cSize

Centroid Size Function
remove_outliers

Mask outliers on some faces
tr

Trace function