Read 2D grey-value BMP files

readBMP(file)

Arguments

file

A character vector of file names or URLs.

Value

Returns a matrix with BMP data as integer.

Author

Volker J. Schmid

Examples

bi<-readBMP(system.file("extdata/V.bmp",package="bioimagetools"))
image(bi,col=grey(seq(1,0,length=100)))