readFileTiff: Read File Tiff

Description Usage Arguments Details Value Note Author(s) See Also Examples

View source: R/readFileTiff.R

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

1
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

1
raw <- readFileTiff(FileName)

FCSlib documentation built on Nov. 27, 2020, 5:09 p.m.

Related to readFileTiff in FCSlib...