comparison_cellDivision: Split a reference scan into a grid of cells

comparison_cellDivisionR Documentation

Split a reference scan into a grid of cells

Description

Split a reference scan into a grid of cells

Arguments

x3p

an x3p object containing a breech face scan

numCells

a vector of two numbers representing the number of cells along the row and column dimensions into which the x3p is partitioned

Value

A tibble containing a prod(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

data(fadul1.1_processed)

cellTibble <- fadul1.1_processed %>%
comparison_cellDivision(numCells = c(8,8))

head(cellTibble)


cmcR documentation built on Dec. 10, 2022, 5:06 p.m.