Learn R Programming

bioimagetools (version 1.1.9)

readBMP: Read bitmap files

Description

Read 2D grey-value BMP files

Usage

readBMP(file)

Value

Returns a matrix with BMP data as integer.

Arguments

file

A character vector of file names or URLs.

Author

Volker J. Schmid

Examples

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

Run the code above in your browser using DataLab