writeFileTiff {FCSlib} | R Documentation |
Write File Tiff
Description
Create a TIFF file from a 3D-array.
Usage
writeFileTiff(img, file.name, invert = TRUE, bits.per.sample = NULL)
Arguments
img |
Either an image or a list of images. An image is a real matrix or array of three dimensions. |
file.name |
Either the name of the file or the name of a raw vector. |
invert |
If set to TRUE then the order of the data will be reversed. Default TRUE. |
bits.per.sample |
Number of bits per sample (numeric scalar). Supported values in this version are 8, 16, and 32. |
Details
Create a TIFF file using writeTIFF, converting a 2D-array. If the file contains multiple pages, a 3D-array is turned into a 2D-array to implement the aforementioned function.
Value
None.
Author(s)
Adan O. Guerrero Cardenas.
References
None
See Also
Examples
imagsave <- array(data = 1:10, dim = c(100,100,10))
writeFileTiff(imagsave, paste(tempdir(), "/image_Test.tif", sep = ""))
[Package FCSlib version 1.3.0 Index]