qPLMTabulate: Place qPLMarr Data in Tabular Format

View source: R/qPLMTabulate.R

qPLMTabulateR Documentation

Place qPLMarr Data in Tabular Format

Description

qPLMTabulate casts data from the [u,v,3] array format of a qPLMarr object into a qPLMtab matrix.

Usage

qPLMTabulate(qPLMarr, low.pass = 5/256)

Arguments

qPLMarr

A qPLMarr object.

low.pass

A low-pass filter value (as an 8-bit grayscale level, 1-256) to remove noisy in-plane orientation data from low-theta pixels. Default is five.

Value

A [u*v,9] qPLMtab matrix, with columns (1) theta, (2) phi, (3-5) the Euclidean projection of theta and phi, (6-7) the [u,v] address of the pixel as an integer, and (8-9) the [u,v] position of the pixel in millimeters.

See Also

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

Examples

#oldwd<-getwd()
#setwd(system.file("extdata", package = "microTransit"))
#load("testqPLMarr.R")
testqPLMtab<-qPLMTabulate(testqPLMarr)
testqPLMtab[1:5,]
save(testqPLMtab, file = "testqPLMtab.R")
#setwd(oldwd)


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