inpaintedExample: Matrix of pixel values after the first three pre-processing...

Description Usage Format Source

Description

"NBIDE R BF 118.png" after the first three pre-processing steps, and inpainting outliers. The following is the full set of code to obtain this matrix.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# step 1
primerExample <- findPrimer(system.file("extdata", "NBIDE R BF 118.png", package = "cartridges"))
FPexample <- findFP(system.file("extdata", "NBIDE R BF 118.png", package = "cartridges"), primer = primerExample)
# step 2
centeredExample <- centerBFprimer(FPexample, primerExample)
leveledExample <- levelBF(centeredExample$centeredBF)
# step 3
removedExample <- removeCircular(leveledExample)
# step 4
croppedExample <- cropBorders(removedExample, centeredExample$centeredPrimer)
outlierNAexample <- outlierRejection(croppedExample)
inpaintedExample <- inpaint_nans(outlierNAexample)

Areas that are not part of the breechface impression are set to 0.

Usage

1

Format

An image matrix sized just large enough to contain all the breechface impression pixels. In this case the matrix is 1372 x 1354 pixels.

Source

https://tsapps.nist.gov/NRBTD


xhtai/cartridges documentation built on June 1, 2019, 2:58 p.m.