Learn R Programming

FCSlib (version 1.3.0)

readFileTiff: Read File Tiff

Description

Reads a TIFF file and converts it into a 2D-array. If the file contains multiple pages, a 3D-array will be then returned.

Usage

readFileTiff(filename, invert = TRUE)

Arguments

filename

Either name of the file to read from or a raw vector representing the TIFF file content.

invert

If set to TRUE then the order of the data will be reversed. Default TRUE.

Value

A matrix containing the image data.

Details

Read a TIFF file image using readTIFF and converts it to a matrix with n-dimensions.

See Also

readTIFF writeFileTiff

Examples

Run this code
# NOT RUN {
raw <- readFileTiff(FileName)
# }

Run the code above in your browser using DataLab