readFileTiff {FCSlib} | R Documentation |
Reads a TIFF file and converts it into a 2D-array. If the file contains multiple pages, a 3D-array will be then returned.
readFileTiff(filename, invert = TRUE)
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. |
Read a TIFF file image using readTIFF and converts it to a matrix with n-dimensions.
A matrix containing the image data.
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.
Adan O. Guerrero Cardenas.
raw <- readFileTiff(FileName)