readCartridgeImage: Read in a cartridge image

Description Usage Arguments Value Examples

Description

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.

Usage

1

Arguments

fileName

location of image file to be read in

Value

A 1944 x 2592 matrix containing pixel values from 0 to 255.

Examples

1
2
3
4
5
## Not run: 
exampleImage <- readCartridgeImage(system.file("extdata", "NBIDE R BF 118.png",
 package="cartridges"))

## End(Not run)

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