preProcess_erode: Erode the interior or exterior of a cartridge case surface

preProcess_erodeR Documentation

Erode the interior or exterior of a cartridge case surface

Description

performs the morphological operations and dilation to "shave" observations off of the interior or exterior of a cartridge case surface matrix.

Usage

preProcess_erode(x3p, region, morphRadius = 50)

Arguments

x3p

an x3p object

region

either "interior," meaning the observations around the firing pin hole will be eroded, or "exterior," meaning the observations around the outer edge of the cartridge case primer will be eroded

morphRadius

controls the amount of erosion. Larger values correspond to a larger (circular) morphological mask leading to more erosion.


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