Extract a matrix from the target region of the same dimension as the reference cell depending on the estimated translation calculated from comparison_fft_ccf

comparison_alignedTargetCell(
cellHeightValues,
regionHeightValues,
target,
theta,
fft_ccf_df
)

## Arguments

cellHeightValues

list/tibble column of x3p objects containing a reference scan's cells (as returned by comparison_cellDivision)

regionHeightValues

list/tibble column of x3p objects containing a target scan's regions (as returned by comparison_getTargetRegions)

target

the scan to which each cell in the partitioned scan was compared.

theta

the theta (rotation) value associated with each cellHeightValues, regionHeightValues pairing

fft_ccf_df

data frame/tibble column containing the data frame of (x,y) and CCF values returned by comparison_fft_ccf

## Value

a list of x3p objects containing surface matrices extracted from regionHeightValues of the same dimension as the x3p objects in cellHeightValues