Description Usage Arguments Value Examples
Images must be of the standard format as provided in the NIST Ballistics and Research Toolmark Database. The dimensions are 1944 x 2592 pixels, and images are on a 255-grayscale. Here we use ring light images. This function performs all the pre-processing steps, consisting of
Automatically selecting the breechface marks
Leveling the image
Removing circular symmetry
Removing outliers and filtering.
1 | allPreprocess(fileName)
|
fileName |
location of image file. This function has been tested on
|
An image matrix, cropped to the smallest rectangle containing the valid breechface area. Non-breechface pixels are set to 0. After all pre-processing, possible pixel values are -510 to 510.
1 2 3 4 | ## Not run:
processedExample <- allPreprocess(system.file("extdata", "NBIDE R BF 118.png", package = "cartridges"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.