centroidCorr: Set Tangential Frame of Reference for Cortical Bone Axial...

View source: R/centroidCorr.R

centroidCorrR Documentation

Set Tangential Frame of Reference for Cortical Bone Axial Data

Description

centroidCorr changes the in-plane orientation data of a qPLMtab object from global reference frame to orientation relative to a tangent from the centroid of the object cross-section. Resulting orientations are in a sense 'unwrapping' the cortex around the centroid.

Usage

centroidCorr(qPLMtab)

Arguments

qPLMtab

qPLMtab object to process.

Details

For some questions (e.g., resistance of cortical bone to torsion), orientation in plane relative to a centroid is informative. This function returns orientation relative to a 'naive' assumption of the structural centroid of a cross-section.

Value

A qPLMtab object; a matrix with columns

  1. (1) theta,

  2. (2) 'corrected' phi,

  3. (3-5) the 'unwrapped' Euclidean x, y, and z axis coordinates, and

  4. (6-7) the original pixel u,v positions.

See Also

Other qPLM Analysis Functions: angGaussSumm(), pullCluster(), pullROI(), pullqPLMSample(), qPLMClust(), qPLMTabulate()

Examples

#oldwd<-getwd()
#setwd(system.file("extdata", package = "microTransit"))
#load("testqPLMtab.R")
#setwd(oldwd)

testCorrtab<-centroidCorr(testqPLMtab)


TobinH/microTransit documentation built on Jan. 19, 2024, 5:21 a.m.