comparison_cellDivision: Split a reference scan into a grid of cells

Description Arguments Value Examples

Description

Split a reference scan into a grid of cells

Arguments

x3p

an x3p object containing a breech face scan

numCells

number of cells to partition the breech face scan into. Must be a perfect square (49, 64, 81, etc.)

Value

A tibble containing a numCells number of rows. Each row contains a single cell's index of the form (row #, col #) and an x3p object containing the breech face scan of that cell.

Examples

1
2
3
4
5
6
data(fadul1.1_processed)

cellTibble <- fadul1.1_processed %>%
comparison_cellDivision(numCells = 64)

head(cellTibble)

cmcR documentation built on April 5, 2021, 5:09 p.m.