Description Usage Arguments Value Examples
Images from the NIST Ballistics and Research Toolmark Database are 1944 x 2592 pixels, and on a 255-grayscale. This function reads in such images and returns a matrix of pixel values.
1 | readCartridgeImage(fileName)
|
fileName |
location of image file to be read in |
A 1944 x 2592 matrix containing pixel values from 0 to 255.
1 2 3 4 5 | ## Not run:
exampleImage <- readCartridgeImage(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.