readFileTiff {FCSlib}R Documentation

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.

Details

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

Value

A matrix containing the image data.

Note

This function must be used in order to extract the information from the TIFF files needed to test the functions in this package. The TIFF file must be grayscale.

Author(s)

Adan O. Guerrero Cardenas.

See Also

readTIFF writeFileTiff

Examples


raw <- readFileTiff(FileName)


[Package FCSlib version 1.3.0 Index]