Learn R Programming

bioimagetools (version 1.1.8)

readBMP: Read bitmap files

Description

Read 2D grey-value BMP files

Usage

readBMP(file)

Arguments

file

A character vector of file names or URLs.

Value

Returns a matrix with BMP data as integer.

Examples

Run this code
# NOT RUN {
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